Support Required for Scheduling Process from a Future Date with 10-Minute Recurrence

Hi Team,

I want to schedule a process today itself, but the process should start automatically from a specific future date and then continue running every 10 minutes from that date onward.

I tried different approaches using:

  • Cron expressions
  • Different types of time triggers
  • Multiple triggers (one for the future date and another for every 10 minutes)

One approach was to keep the 10-minute trigger disabled until the required date and then enable it manually. However, my requirement is to achieve this completely automatically without any manual intervention.

Could you kindly help me with the correct approach to achieve this scenario in UiPath Orchestrator?

Regards
Narendra C

@QRPABOT Hi Narendra,

As per my understanding, I would not try to handle this only with a cron expression.

For this scenario, the cleaner approach would be:

  1. Create the actual process trigger with frequency as every 10 minutes.
  2. Keep this 10-minute trigger disabled initially.
  3. Create one small helper/scheduler process.
  4. Schedule this helper process to run only once on the required future date and time.
  5. In that helper process, use the Orchestrator API to enable the 10-minute trigger.

Once the future date/time is reached, the helper process will enable the main trigger automatically. After that, your main process will continue running every 10 minutes without any manual intervention.

Also, please make sure the timezone is correctly selected in the trigger, otherwise the process may start at a different time than expected.

Another simple workaround is to keep the 10-minute trigger enabled from today and add a condition at the beginning of the workflow:

If current DateTime is less than required future DateTime, then just log a message and end the process.

But in that approach, jobs will still get triggered before the future date; they will just exit without doing the actual business process.

So, for a clean automated solution, I would prefer the helper process + Orchestrator API approach.

Thank You Dhruba for your solution.

@QRPABOT Welcome ! Can you mark as ‘Resolved’ so that it can help others

@QRPABOT

It couldn’t be possible with CRON expression. It’s better to keep this manual as there could be any xyz reason which might fail or stop the helper/scheduler process. If that also need to monitor proactively then you shouldn’t be spending time on this one-time additional bot.

Just put a reminder in calendar/phone or anywhere and enable it manually.