Stop the schedule in process

Hi All,

I have scheduled the process on orchestrator, and if I start it, it will run the process every 1 hour. I’m wondering if it’s possible to create a conditon in the last part of process to stop the original schedule.

Thanks!

Hi @key3.14159

No, As per my knowledge you can’t stop the scheduled bot. Based on the trigger conditions it will run based on the schedule.

Hope it helps!!

2 Likes

Do you want to disable the trigger? There are no activities for it, but I think it would be possible to do with API requests. Check the ProcessSchedules endpoint.

Orchestrator - API References - https://docs.uipath.com/

1 Like

Hi all,

Thanks for reply!
Yes, I want to disable the trigger. Although my process needs to be repeated, I cannot know in advance the time and number of times it will take. It may be completed quickly, or it may take a month or more, so I hope that the process can automatically determine whether to disable the trigger.

@key3.14159

You can disable or enable a trigger using. Api

<OrchetratorURL>/swagger/index.html#/ProcessSchedules/ProcessSchedules_SetEnabled

For more details on how to use check seagger

But when to stop and when to start you have to determine using your own conditions …but this api can be leveraged in your process to enable or disable a schedule

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.