MCPcopy Index your code
hub / github.com/simstudioai/sim / deleteWorkflowRecord

Function deleteWorkflowRecord

apps/sim/lib/workflows/utils.ts:472–478  ·  view source on GitHub ↗
(workflowId: string)

Source from the content-addressed store, hash-verified

470}
471
472export async function deleteWorkflowRecord(workflowId: string) {
473 const { archiveWorkflow } = await import('@/lib/workflows/lifecycle')
474 await archiveWorkflow(workflowId, {
475 requestId: `workflow-record-${workflowId}`,
476 notifySocket: false,
477 })
478}
479
480export async function setWorkflowVariables(workflowId: string, variables: Record<string, unknown>) {
481 await db

Callers

nothing calls this directly

Calls 1

archiveWorkflowFunction · 0.85

Tested by

no test coverage detected