the bot will trigger to run every 15mins via Orchestrator
every top of the hour an email will be sent to confirm via UiPath Studio
email to be sent between 9am to 8pm weekdays
I’ve created 2 variables but realised that this will not run the bot based on the requirements I provided above.
IF Condition
DateTime.ParseExact(currentTime,“hh:mm”,system.Globalization.CultureInfo.InvariantCulture)<DateTime.ParseExact(fixedTime,“hh:mm”,system.Globalization.CultureInfo.InvariantCulture)
for this scenario you need to use chrone expression
0 0/15 9-19 ? * MON-FRI ( this chrone expression will trigger job for every 15 mins from 9 AM in the morning - 7:45 PM in the night)
you need to create another trigger for last run i.e 8PM run in the night from mon - fri (you can create easily by using basic trigger properties for this)