PLANNED- see the Workaround section below.
In some cases you may want to forcibly stop the scenario execution followed by rollback or commit phase or to stop the processing of a route and optionally store it in the queue of incomplete executions.
Currently the error handling directives can not be used out of the scope of an error handling route and Integromat does not offer a module that would enable you to easily conditionally generate (throw) errors.
To conditionally throw an error you may configure a module to make it optionally purposely fail during its operation. One possibility is to employ JSON > Parse JSON module configured to optionally throw an error (BundleValidationError in this case):
You can then attach one of the error handling directives to the error handling route to:
The following example shows the use of the Rollback directive: