cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Workato Scheduler - Restart Cadence?

gsbrown
Deputy Chef I
Deputy Chef I

I'm working on a recipe that's triggered on schedule to run every hour.  
When I make edits to fix a failed step and restart the recipe,  it waits until the next hour to run again.   
How can I "reset" the schedule so that it runs immediately again at "Start Recipe",  then begins a new hourly schedule from that point on?

1 ACCEPTED SOLUTION

rajeshjanapati
Executive Chef I
Executive Chef I

Hi @gsbrown, When a scheduled recipe is configured to run every hour, restarting the recipe does not reset the schedule timing. The recipe will continue following the existing scheduler interval based on the last scheduled execution time maintained internally by Workato, you can able to acess the last_job_time pill as well from trigger step.
For example:

  • Recipe starts at 9:00 AM with an hourly schedule
  • A job fails

  • You modify and restart the recipe at 9:15 AM

The recipe will still wait until the next scheduled run time (10:00 AM) instead of running immediately at 9:15 AM. This is expected behavior for scheduled triggers.

Workato maintains the previous execution information (such as the last job execution time) to determine the next scheduled run.

If you want to immediately test the failed scenario after fixing the recipe, you can:

  1. Repeat the failed job

  2. Use an on-demand trigger (API trigger, callable recipe, another recipe, etc.)

  3. Temporarily modify the schedule trigger configuration and restart the recipe


Thanks,
J Rajesh Kumar.

View solution in original post

1 REPLY 1

rajeshjanapati
Executive Chef I
Executive Chef I

Hi @gsbrown, When a scheduled recipe is configured to run every hour, restarting the recipe does not reset the schedule timing. The recipe will continue following the existing scheduler interval based on the last scheduled execution time maintained internally by Workato, you can able to acess the last_job_time pill as well from trigger step.
For example:

  • Recipe starts at 9:00 AM with an hourly schedule
  • A job fails

  • You modify and restart the recipe at 9:15 AM

The recipe will still wait until the next scheduled run time (10:00 AM) instead of running immediately at 9:15 AM. This is expected behavior for scheduled triggers.

Workato maintains the previous execution information (such as the last job execution time) to determine the next scheduled run.

If you want to immediately test the failed scenario after fixing the recipe, you can:

  1. Repeat the failed job

  2. Use an on-demand trigger (API trigger, callable recipe, another recipe, etc.)

  3. Temporarily modify the schedule trigger configuration and restart the recipe


Thanks,
J Rajesh Kumar.