Execute Workflows Conditionally

I have 2 workflows named as W1 and W2 so I need to execute W2 but after W1 workflow executed successfully then only executed W2 workflow? How to do this one?

Showing Answers 1 - 5 of 5 Answers

Anvesh

  • Feb 14th, 2017
 

You can create a master workflow and have a command task for each workflow. Once the command task succeeds then it will call the second workflow.
Command to call a workflow

pmcmd startworkflow -sv $$INFA_IS_NAME -d $$INFA_DOMAIN_NAME -uv INFA_USER -pv INFA_PWD -f XXX_Folder -wait wf__Lookup_Tables

  Was this answer useful?  Yes

krishna

  • Feb 23rd, 2017
 

We can use link condition status of previous session is succeeded.

  Was this answer useful?  Yes

Asha Frank

  • Dec 6th, 2017
 

Using scheduler tools

  Was this answer useful?  Yes

manish

  • Feb 15th, 2018
 

Create a command task at the end of first workflow which will execute the 2nd workflow based on successful execution of previous task.

  Was this answer useful?  Yes

Arun

  • Jan 13th, 2019
 

You can run different session with link condition but not different workflow.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions