cancel
Showing results for 
Search instead for 
Did you mean: 

Polling Trigger New/Updated Recipe Reset Records to Retrieve

Custom24
Deputy Chef I
Deputy Chef I

Hi there!

I have a recipe looking for New/Updated Contacts in Salesforce, but this is a general question that applies to other sources as well.

My understanding of how this works is that Workato maintains an internal record of maybe the highest Salesforce ID and the latest modification time, and the next time a job runs, it looks for records newer than those.

My understanding is that this is stored in Workato on a per-recipe basis?

Is there a way to reset a recipe so that its trigger retrieves records that were previously retrieved, without having to touch the source data (in this case Salesforce)?  In other words, to reset the recipe so that the next time it runs, it's as if it were the first time?

Thanks

Mark

1 ACCEPTED SOLUTION

chris-wiechmann
Workato employee
Workato employee

Hi Mark, 

Your assumption about how recipes & trigger work in the Workato platform is absolutely correct. Each recipe, that has an App-Trigger, maintains a curser about the current position in the connected application. 

I'm aware of two ways to reset the curser:

  1. Clone the recipe and use the new one
  2. Use the following API: https://docs.workato.com/workato-api/recipes.html#reset-recipe-trigger 

I hope this helps!

Cheers,
Chris

View solution in original post

1 REPLY 1

chris-wiechmann
Workato employee
Workato employee

Hi Mark, 

Your assumption about how recipes & trigger work in the Workato platform is absolutely correct. Each recipe, that has an App-Trigger, maintains a curser about the current position in the connected application. 

I'm aware of two ways to reset the curser:

  1. Clone the recipe and use the new one
  2. Use the following API: https://docs.workato.com/workato-api/recipes.html#reset-recipe-trigger 

I hope this helps!

Cheers,
Chris