"Call workflow action" option

Hi Knimers,

I plan to create a schedule job and I would like that this job call 2 others workflows.

The second workflow must be run only if the first job execution executed successfully and the third job must be run only if the 2nd job executed successfully.

So, I would like to know, if we can do it using using the “Call workflow action” option.

In fact could you confirm me that:

  • the calls are executed in a sequential mode and not in parallel (e.g. one at a time and not all at the same time).

  • “on succes” option refers to the job listed previously in the call workflow action list and not to the first job (e.g. that the “on success” option for the workflow(3) refers to the execution of workflow(2) and not to the main workflow see image below)

call_workflow_action

Regards,
Joel

Hi Joel,
Unfortunately this is not the case. The workflows that you show in your screenshot would be executed both at the same time when the original workflow executes successfully. Currently we do not have the option to chain multiple workflow actions. Maybe you could create an orchestration workflow instead that uses the Call Workflow node to call the workflows in the correct order? With the Try and Catch nodes you could also react on errors, if you need to.
Kind regards,
Alexander

Hi @AlexanderFillbrunn

Thanks for the reply, then I will create a meta workflow to do it.

Do you plan at KNIME to develop a feature to give the possibility to chain the jobs graphically in the future server releases?

Regards,
Joel

Hi Joel,
I am not aware of any plans to do so. The orchestration workflow approach is a lot more flexible and only slightly more work is involved, so I think we will also refer to this option in the future. Many of our customers already to it like that.
Kind regards,
Alexander