Workflow invocation from other

Hi Team,

We have the two workflows second workflow needs to get executed based on the outcome of first workflow, I would like to know if we have such mechanism to execute the workflow.

If yes, can we schedule second workflow based on result of first workflow.

Regards.
Nilesh

You can embed workflows now into other workflows so that seems entirely possible.

Hi Nilesh ,

Please let me know if the following steps helped you achieve the desired outcome -

  1. Create a workflow template

  2. Go to workflow visualizer

  3. Add jobs into the workflow template. In this case add workflow template as a node to the workflow template.

  4. Select RUN type as per choice (ex: Alaways,On Success, On Failure)

  5. This will help in executing 2nd workflow after outcome of the 1st workflow.

Best Regards.

Hi Rc_nec

Running separate workflow is working fine, but I wanted to know how to run workflow2 from workflow1.

eg

workflow2

job2temp1 → job2temp2 → job2temp3 → job2temp4

workflow1
job1temp1 → job1temp2 → job1temp3 → job1temp4 → workflow2

Hello Friends,

Please let me know if anyone has tried below use case and provide the valuable input.

Thank you
Nilesh