Trigger
Trigger conditions
On the Trigger tab, you visualize the trigger object picked at scenario creation. You can add a Formula to validate in order to fine tune when the scenario should execute.

Trigger formula example
How to run this scenario ?
API Execution
All scenarios can be executed to request a decision by API. The scenario_id necessary for this is displayed in the scenario page's Trigger tab, and should be added to your payload when calling the Decision API.

Batch execution
If you do not need a real-time decision, and rather want to run your scenario on all your data matching the Trigger conditions, you can schedule recurrent executions or launch it manually:
Scheduled execution
On the draft version of your scenario, you can configure the schedule on which it should be run:
- Tick the checkbox Run this scenario on a schedule under Batch Execution
- Choose whether you want to run your scenario:
- Daily at a specific time
- Weekly on a specific day
- Monthly on a specific day number

Set the schedule of your recurrent executions
Note that you can see the past executions of your scheduled scenario by clicking on the Schedule executions button from the Batch section of the scenario.

See your scenario's past executions
Manual execution
Additionally, you can also run your scenario manually, which can be useful to make sure your scenario works well during your test phase or to trigger decisions on past data after creating a scenario for example.
To do so, just click the Launch now button on theBatch section of the scenario (screenshot above).
Updated 10 days ago