Feat/add workflow sys params (#9108)
Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
parent
62051d5171
commit
e947103b6d
12 changed files with 74 additions and 3 deletions
|
|
@ -85,6 +85,9 @@ class WorkflowCycleManage:
|
|||
|
||||
# init workflow run
|
||||
workflow_run = WorkflowRun()
|
||||
workflow_run_id = self._workflow_system_variables[SystemVariableKey.WORKFLOW_RUN_ID]
|
||||
if workflow_run_id:
|
||||
workflow_run.id = workflow_run_id
|
||||
workflow_run.tenant_id = self._workflow.tenant_id
|
||||
workflow_run.app_id = self._workflow.app_id
|
||||
workflow_run.sequence_number = new_sequence_number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue