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

Function temporalWorkflowUrl

apps/sim/tools/temporal/utils.ts:62–68  ·  view source on GitHub ↗
(
  serverUrl: string,
  namespace: string,
  workflowId: string
)

Source from the content-addressed store, hash-verified

60 * URL-encoding the workflow ID.
61 */
62export function temporalWorkflowUrl(
63 serverUrl: string,
64 namespace: string,
65 workflowId: string
66): string {
67 return `${temporalNamespaceUrl(serverUrl, namespace)}/workflows/${encodeURIComponent(workflowId.trim())}`
68}
69
70/**
71 * Builds the `/schedules/{scheduleId}` URL for a schedule, trimming and URL-encoding

Callers 10

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

Calls 1

temporalNamespaceUrlFunction · 0.85

Tested by

no test coverage detected