Help

Error handling

The Error processing section provides detailed information about how Integromat processes and evaluates errors. If this behaviour does not correspond to your requirements, you can add an error handler route to your scenario and handle an error within this route automatically. In order to differentiate these special routes inside graphic diagram of a scenario, we use little transparent circles to connect modules on 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 as 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 any directive into the error-handler route, Integromat will first process all modules within this route. Once this processing is completed, 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 at the given location.

Nesting

Irrespective of where a module is located, error-handler routes can be created on any module, except from routers. It is thus possible to create an error-handler route on a module that is already part of an existing error-handler route created on another module.

Rate this article: