Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Roll back in Scenaio

sj0071992
Neuron
Neuron
Roll back in Scenaio

Hi Team,

 

Is there any way to roll back the changes if my Scenario run is failed?

 

Thanks in Advance

1 Reply
AlexT
Dataiker
Dataiker

Hi @sj0071992,

Can you elaborate a bit on what you mean by rolling back? You can roll back any changes to the scenario itself from Version control.

If you are looking at rolling back the datasets that were potentially built or dropped by previous steps wouldn't typically be possible. 

There are a few things you can do to reduce the possibility of a failure :

1) Don't run other steps in the scenario if a particular step failed.

2) Add checks and metrics before running build steps. E.g check if the input dataset has 0 rows 

3) Add retries to particular steps where appropriate in case it was transient issue. 

The following tutorial will provide some examples on how to use check and metrics in scenarios: https://knowledge.dataiku.com/latest/courses/automation/automation-hands-on.html