MCPcopy Create free account
hub / github.com/StackStorm/st2 / update_workflow_execution

Function update_workflow_execution

st2common/st2common/services/workflows.py:1334–1342  ·  view source on GitHub ↗
(wf_ex_id)

Source from the content-addressed store, hash-verified

1332 wait_jitter_max=cfg.CONF.workflow_engine.retry_max_jitter_msec,
1333)
1334def update_workflow_execution(wf_ex_id):
1335 conductor, wf_ex_db = refresh_conductor(wf_ex_id)
1336
1337 # There is nothing to update if workflow execution is not completed or paused.
1338 if conductor.get_workflow_status() in statuses.COMPLETED_STATUSES + [
1339 statuses.PAUSED
1340 ]:
1341 # Update workflow execution and related liveaction and action execution.
1342 update_execution_records(wf_ex_db, conductor)
1343
1344
1345@retrying.retry(

Callers 1

Calls 2

refresh_conductorFunction · 0.85
update_execution_recordsFunction · 0.85

Tested by

no test coverage detected