MCPcopy
hub / github.com/simstudioai/sim / workflowExecutionRef

Function workflowExecutionRef

apps/sim/tools/temporal/utils.ts:86–90  ·  view source on GitHub ↗
(workflowId: string, runId?: string)

Source from the content-addressed store, hash-verified

84 * when not provided so the server targets the latest run.
85 */
86export function workflowExecutionRef(workflowId: string, runId?: string): Record<string, string> {
87 const ref: Record<string, string> = { workflowId: workflowId.trim() }
88 if (runId?.trim()) ref.runId = runId.trim()
89 return ref
90}
91
92/**
93 * Builds the request headers for a Temporal HTTP API call, attaching the API key as a

Callers 6

signal_workflow.tsFile · 0.90
cancel_workflow.tsFile · 0.90
reset_workflow.tsFile · 0.90
update_workflow.tsFile · 0.90
query_workflow.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected