I’m not sure if it’s possible or not. I have process A which run on a queue trigger. And I have process B which need to be run at XX time lets say 10am.
How can I automatically stop process A at 10am to give space for process B to run.
There’s a ‘schedule ending of job execution’ , but that one can only stop process after XX hour etc. I can’t do that because process A is not time specific.
Before getting transaction data and checking stop signal, check time and when it is around 9:50am and use stop job activity to send stop signal
Furthermore, it would be good to send http request to orchestrator to disable the queue trigger.
And then on process B, enable the queue trigger at the end.
As per my experince you can use api or powershell to stop process A at 10am. a
Or You can stop process A manually using Soft Stop or Kill in Orchestrator.
If helpful, mark as solution. Happy automation with UiPath
When you create the trigger of your process A, you can activate “Schedule ending of job execution” option and define after how much time the job should stop.
And you create another trigger for your process B and define the needed frequency.
Let’s say that your process A will be launched at 9 am, if you put 58 min in “Schedule ending of job execution” option, the job of your process A will be ended at 9:58 am. At 10 am, the trigger will launch your second process B.
Add a simple checkpoint to check if the time to stop elapsed, if yes, use a assign activity and set to to Nothing and your bot should stop. This will work only if you have used REFramework template else, you will have to identify the logic where it’s picking the queue item.