02-12-2021 07:10 PM
We have error handling retry logic that re-runs our recipe up to some max_attempts whenever we hit API rate limits. Since our recipe creates a Collection as part of its logic, we started seeing failures due to "table name already exists" -- which I suspect is because you can only create a single Collection for a list once in a given recipe.
Are there any good workarounds for this?
02-12-2021 07:12 PM
Hi I have the same issue. It seems that during the retry, Workato was not smart enough to “clear” the Collection. In the end, we just decided not to retry ….
Is it a bug? Feature request? 😊
Gordon
02-12-2021 07:14 PM
A couple options I've done on this - name your collection with the name you want, but append the retry count to the name. It looks silly but it still runs correctly. Option 2 - create your collection outside the error monitor and right after the monitor starts, delete the records from the collection so that you know you're starting fresh with an empty collection.
02-12-2021 07:24 PM
Amazing. Amy Jorde and Simon Zelazo using the attempt number variable seemed to do the trick. Thank you!
02-12-2021 07:32 PM
Small caveat - just make sure when you're querying results back that you're querying the right version of the collection with the retry count name.