How to run multiple scenario in one go

dave
Level 2
How to run multiple scenario in one go

Hi Experts,

I am looking to run 5 scenario to run in one go with the condition if prior fails it should stop running the next scenario by the help of button and not by the py code. 

Scenario 1

|

|

Scenario 5

with Custome Play button or schedule or time based trigger.

 

K.Rgds,

Kalpesh

0 Kudos
2 Replies
AndrewM
Dataiker

Hello,

This can be achieved through the use of Scenario Triggers. One of the trigger types is โ€˜Trigger After Scenarioโ€™. You can โ€˜chainโ€™ the scenarios together like so:

Scenario 1 > normal trigger

Scenario 2 > Trigger After Scenario 1

Scenario 3 > Trigger After Scenario 2

etc...

Under the "When the other scenario..." option you can specify "runs successfully". This will allow you to fire scenarios after the previous scenario has finished running without errors. Scenario 1 can have a time based trigger or you can run it manually. 

Thank you,

Andrew M

dave
Level 2
Author

Hi Andrew,

I did it using under go to scenerio-->Add Step--> Scroll down--> choose "Run another scenario " option letting you to choose all sub scenario created for various data set flow.

 

Rgds,

Kalpesh

0 Kudos