Skip to main content
Example on How to use Throw Element
Ossi Galkin avatar
Written by Ossi Galkin
Updated over 7 months ago

The Throw Element is used to throw an exception and it takes an expression as a parameter.

When used with an HTTP or API Trigger, it can be configured to send an HTTP response or an HTTP binary response.

In the Process below, theTrigger Element is an HTTP trigger, and Throw Element comes after an Exclusive Decision Element returns a 404 error.

If an exception is not caught, the Process execution will end in an error state.
โ€‹

If you have set a Subprocess to call on unhandled errors in a Process and use the Throw Element, you can toggle the 'Bypass Call Subprocess' option in the Throw Element's Parameter Editor.

Did this answer your question?