Nav

To Handle Errors (Design Center)

You can put specific parts of a flow that are prone to errors inside Try. If an attempt to use the part of the flow in Try fails, Try can catch the errors and apply a fix or an alternative. Different types of errors can be handled differently.

When you place a connector component inside Try, you control what happens if an error occurs: send an error message, make corrections, or anything else that you can do in a flow.

  1. Add Try to a flow.

    error handling task design center eff90

  2. Click add to Try within Try.

  3. Add and configure components, for example a Database Insert operation.

  4. Provide a value for Type. Type a value or select from a list of all possible errors that can occur on the components within Try.

  5. To the right of the error type, click add to Try and add components. Execution of these components occurs if the specific error is thrown.

Adding More Error Types

  1. In an existing Try Scope, click Options.

  2. To add a new error type, select Add Above or Add Below.

    try options

    Error conditions are matched from top to bottom, and only the first match is considered. If you add an error of type ANY, make sure that the error is listed last.

  3. Add an error type and add the components to try.