Join us, on May 27th, for an introduction to the new Dataiku Academy Learn more

Conditions in scenarios

Level 4
Conditions in scenarios
Hello,

is it possible to run a step in scenario only when the previous step succeeded? And to pause/halt the scenario when a step fails - to prevent further runs by time triggers?

Thanks
0 Kudos
3 Replies
Dataiker
Dataiker
Hi,

in version 4.1 you'll need to make a scenario of the "custom python" sort, where you manage the starting of steps.

Likewise, changing the "active" status of a scenario based on the outcome of a step needs to be done programmatically, for example with the python wrapper on the public API (see https://doc.dataiku.com/dss/latest/api/public/client-python/reference.html#id4)

Regards,
0 Kudos
Dataiker
Dataiker
This feature is now native since DSS 4.2

The previous answer about using "Custom Python" kind of scenario or "Python code" step in a step-based scenario remains valid for doing more advanced kinds of conditional processing, loops, ...
0 Kudos
Level 4
Author
thanks
0 Kudos
Labels (1)