Does conductor support dynamic subworkflow? #3844
-
Hi, We want to implement below behavior with conductor,
This can be implemented with predefined workflow definition. But we want to make subworkflow as a dynamic task, such as, the input parameters of subworkflow and subworkflow name can be read from task1's output or workflow's input parameters. Like to treat the whole workflow as a template We found,
So any suggestion on this? We want a lightweight, flexible, dynamic, formal and simple way to implement this or anything misunderstanding here? Appreciate for your kindly help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found that subworkflowParam defined in SubWorkflow task with parameter { "version": 2 } resovled the variables in placeholder, such as,
Thanks |
Beta Was this translation helpful? Give feedback.
Found that subworkflowParam defined in SubWorkflow task with parameter { "version": 2 } resovled the variables in placeholder, such as,
{ ..., "type": "SUB_WORKFLOW", "subWorkflowParam": { "name": "${workflow.input.name}", "version": 2 } }
Thanks