Automatically re-run a scenario if it fails

ben_p
Level 5
Automatically re-run a scenario if it fails

I have a scenario in DSS which checks the integrity of my data, if conditions are met it passes, and a model is trained, if it fails then the scenario errors and the model is not trained.

This works nicely, but I'd like the scenario to automatically re-check the data at intervals (say 30 minutes) - is it possible to do this in a scenario?

0 Kudos
2 Replies
DamienJ
Dataiker

Hi Ben,

To run checks every 30 min, use a time based trigger.

You can have multiple triggers per scenario. However, in your case, I guess creating another scenario with a time based trigger (and only step with checks) is more suitable.

Damien

 

 

Damien Jacquemart, Lead Data Scientist @Dataiku
0 Kudos
ATsao
Dataiker

Hi Ben,

As Damien mentioned, what you are looking for is to use triggers with your scenarios. To add onto his response, you can find more information about using triggers in our documentation here: https://doc.dataiku.com/dss/latest/scenarios/triggers.html#types-of-triggers

Best,

Andrew

0 Kudos