Time based robot


#1

hi,

we are creating bot which can search a calendar every 15mins and fetch the information. Is it possible to make this bot? Ideas Please


#2

If you simply just want to do a task every 15mins, then you can either use the Delay activity inside a Do While loop OR you can schedule it in Orchestrator to run every 15mins using a CRON expression.

Scheduling with a CRON expression would probably be ideal… Here’s info on that:
https://www.google.com/search?q=CRON+expression&rlz=1C1GGRV_enUS751US751&oq=CRON+expression&aqs=chrome..69i57.2175j0j1&sourceid=chrome&ie=UTF-8

Regards


#3

Thanks Clayton. I want the bot to read the calendar and after reading the calendar the bot will start a process in UIPATH. So the old process needs to stop and new process needs to take over. Will a Do While loop can do this job??


#4

That is correct.
You can do it like this:

 Do
   Read Calendar    
   Perform Tasks
   Delay 00:15:00     
While True

The above method will run all day unless you change the While condition so it ends.

The alternative using CRON schedule would be same thing except minus the Do While and Delay activity.

Do this help answer your question?