Have a requirement to Trigger the Process twice i.e 10AM and 6PM of same process. How can we handle this?

Description

Suppose we have 02 new emails in the Inbox before 10AM, then the process should not Start bcz the condition would be matches the email count is 04 for the first Run. And if the email count is 04 before 10AM, then the process should Run and in the evening process Should not run.

In the second Trigger (6PM), if morning we did not have 04 emails, hence process should Trigger now irrespective of email count whether it has count 02,03 or 04.

So, i request can you share your thoughts/approach to handle or design this process.

Greatly appreciated if you could share some thoughts on it.

Thanks

Link

Date

2024-07-01

Related UiPath products

Studio

Put logic into your automation so that it looks at the time and the count of emails and decides whether to continue or not. Then just set up a trigger for 10am and for 6pm.

An alternative to hard-coding it to look at the time would be to use a Process argument to tell it whether to count the emails or not. The 10am trigger would have the argument configured to tell it to count the emails, the 6pm trigger would have the argument configured to tell it to ignore the email count.