mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-29 04:00:13 +00:00
backend - add 'paused' as a workflow run status (#3800)
This commit is contained in:
parent
f66f50fc93
commit
ae5a0de705
4 changed files with 9 additions and 1 deletions
|
|
@ -1262,6 +1262,7 @@ async def _cancel_workflow_run(workflow_run_id: str, organization_id: str, x_api
|
|||
WorkflowRunStatus.running,
|
||||
WorkflowRunStatus.created,
|
||||
WorkflowRunStatus.queued,
|
||||
WorkflowRunStatus.paused,
|
||||
]:
|
||||
continue
|
||||
await app.WORKFLOW_SERVICE.mark_workflow_run_as_canceled(child_workflow_run.workflow_run_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue