Run an activity in particular time frame


#1

Hi All,
I am stuck up with scheduling activity.
When i get approval mail from specific team, I have to perform restart server on coming Sunday between 04:00 AM – 06:00 AM EST.
Please help me how to do this.


#2

@Charishma
I can give you design for your requirement. Before creating make sure UiPath.Mail.Activities package is enabled. This will be useful for all POP2, IMAP, SMTP mail operations.

  1. Create an email work flow to read the email content from outlook email activity.
  2. Read data from mail body.
  3. detect matching keyword “restart server” as a first key word and Day and Date of schedule “Sunday Between 4:00 am to 6:00 am EST” as a second key word from email body or subject.
  4. call server restart activity workflow.

this above work flow schedule in Orchestrator so that it will start based on specific interval.
Hope my inputs are useful