Work automation in specified hours

Assume i want to create a workflow where i need to login into website in declared time period.
lets say there is XYZ website which is available between 6 am to 6 pm daily & rest of the time it is unavailable. Can we train the BOT to check the current time & if the time is between 6 am to 6 pm it should login to website & if the time is between non available hours BOT should not try login to the site.
Please advise if it is possible…?
if yes How?

Hi @Mufaddal_Burhani

You can do this by scheduling the bot in orchestrator


what is there are two websites one is available for 24 hrs & one is between 6 am to 6 pm.
still it is possible with single Robot

you can still work with single robot

make two process as two websites have their own automation flow i believe

and schedule one process with 6 am to 6 pm and another process with 24 hrs


hey thanks

But is there any way i can make declare it in workflow…?
can i declare a time of 6 am to 6 pm in the workflow, if it doesn’t meet the condition it will not execute to open website

yes, you can try like below

  1. Place a If Condition
  2. DATETIME.Now.Hour = 6 OrElse DateTime.Now.Hour < 18

It will give you true or False, accordingly place your logic



I would go with @ksrinu070184 but with small correction
Like this in IF activity

DateTime.Now.Hour >= 6 AND DateTime.Now.Hour <= 18

Cheers @Mufaddal_Burhani


Thank you so much guys @Palaniyappan @ksrinu070184
What if in a week there are are different time span
like on Monday site availability is 5 am to 5 pm
Tues-Fri it is 6 am to 6 pm
Sat-Sun It is 6 am- 11 pm…