Help

Error handling

The Error processing section provides detailed information on how Integromat processes and evaluates errors. If something happens during a scenario and the resulting behavior does not correspond to your requirements, you can add an error handler route to your scenario so you can handle an error within this route automatically. In order to differentiate these special routes inside the graphic diagram of a scenario, we use little transparent circles to show how we connect modules in such routes.

Creating an error-handler route

To add an error-handler route to a scenario, right click (or if you are using a touch screen-device, touch and hold) the module that encountered the error you want to handle, and select the Add error handler option.

Now you can proceed in the same way that you are used to in Integromat - select the modules you want to insert into the error handler route and set them up. On an error handler route, special modules (directives) are available, enabling you to control what happens next.

Directives

  • Ignore - Scenario goes back to the point where the error occurred and continues executing, ignoring any subsequent modules on the route that failed.
  • Resume - Scenario execution goes back to the point where the error occurred and continues from that point as if no error was encountered. When setting up this directive, you can choose the values to be entered as output values for the module that encountered the error.
  • Break - Scenario execution is interrupted at the point where the error occurred and saved in the Queue of incomplete executions. The scenario run will be marked as Successful with warning.
  • Rollback - Scenario execution is stopped and a rollback phase is started on all modules. The scenario run will be marked as Failed.
  • Commit - Scenario execution is stopped and a commit phase is started on all modules. The scenario run will be marked as Successful.

If you do not insert a directive into the error-handler route, Integromat will first process all modules within this route. Once processing is complete, the Ignore directive will be executed automatically.

Filtering

You can use a filter to control which errors are handled by the error-handler route. This allows you to catch only specific types of errors. If a caught error does not pass through the filter, the error will be treated as if there was no error-handler route available for the given location.

Nesting

Regardless of where a module is located, error-handler routes can be created and implemented on all modules, except routers. Thus, it is possible to create an error-handler route for a module that is already part of an existing error-handler route created for another module.

Rate this article: