Adding Pipeline Error Handlers

Before you begin

These instructions assume you are already editing a message flow in the Edit Message Flow page, as explained in Creating, Editing, and Viewing Message Flows.

The instructions also assume you have created a pipeline pair node, as explained in Adding Pipeline Pair Nodes to Message Flows.

To add a Pipeline Error Handler

  1. Navigate to the pipeline pair node containing the pipeline to which you want to add an error handler. If the pipeline pair is not already expanded, click the plus sign next to the icon to display the pipelines.
  2. Click the  Request Pipeline icon or the  Response Pipeline icon, then click Add Pipeline Error Handler. The Edit Error Handler page is displayed.
  3. Click the  Error Handler icon, then click Add Stage.
  4. Click the  Stage icon, click Edit Stage. The Edit Stage Configuration page
  5. Click Add an Action, then select the action you want to add.
  6. An error handler is a pipeline and is therefore configured like any other pipeline. For example, you can use the Publish action to send error notifications to other services, use the Assign action to modify the context variables, and so on. To learn more about the type of action you want to add, see the appropriate procedure in Adding and Editing Actions in Message Flows. There is no restriction on what actions may be chained together.

    Three commonly-used error actions are Raise Error, Reply, and Resume.

  7. Add other actions and make other edits on the Edit Stage Configuration page, as desired.
  8. On the Edit Stage Configuration page, click Save to commit the updates in the current session.
  9. On the Edit Error Handler page, click Save to commit the updates in the current session.

After you finish

On the Edit Message Flow page, continue to construct the message flow, as described in Creating, Editing, and Viewing Message Flows.