Help

Rerunning Automation Error

Topic Labels: Automations
1387 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Lauri_Dietz
4 - Data Explorer
4 - Data Explorer

Is there a way to rerun a failed automation?

The problem I’ve encountered is that Google Calendar sets a limit of how many invites it will allow you to send within a certain timeframe as a spam protection: https://support.google.com/a/answer/2905486?hl=en Lesson learned and won’t be going this route in the future.

Because of that, some of my automations failed to run. I would like to rerun them during the pockets when Google unfreezes my calendar.

But, I’m not seeing an option to rerun the automation. Here’s an example of what it looks like.

automationerror

Looking forward to your advice! Thanks!

1 Reply 1
Tim_Mackey
6 - Interface Innovator
6 - Interface Innovator

This only works if you’re using a scripting action in your automation, but my workaround for this has been to maintain two extra fields in each table that triggers an automation. One field is a Last Modified time, limited to tracking the fields which store data relevant to the automation. The other field is a Date/Time field with the name Last Processed where I manually store the time when the script last completed successfully. At the end of my script, I make an update to this field with the current time. Since this code won’t be executed if the automation fails earlier on, the data never gets updated in case of an error.

Using these two fields, I can tell which records have failed to update by comparing the Last Modified time to the Last Processed time. I then manually trigger the automation again. How you would do this depends on your specific trigger, but in my case I have a “Force Update” checkbox field which I incorporate into the Trigger logic, and toggling it causes the automation to run again.

All that being said, this process is a huge pain, and it would be WAY better if there was a button to just re-run the failed automations directly from the Runs log.