Dispatcher bot Sequenece to execute only once a day

I have a dispatcher bot in which all the task in process are mentioned but before process xaml gets executed in Initall application there is a seq which needs to be triggered only once a day without using DB. Dispatcher bots gets triggered every 30 mins but the sequence needs to be triggered only once a day .late night may be or just once a day.
How can I achieve it

Hi @shashank_dullu

You can utilize assets for this purpose, you can create a asset to store the last execution date.

Create Asset in Orchestrator:

Go to Orchestrator.
Under Assets, create a new Asset (e.g., “LastExecutionDate”).

Update the asset on the first run by using the set asset activity. On every run we will check the asset if it is today’s date we will not execute that part of code. If it is not today’s date it will execute the code which you want to run. By using get asset & set asset we can achieve this.

Hope this helps :slight_smile:

1 Like