- Workflow Builder Reference Guide Introduction
- AudienceWorkflow Builder Application
- Workflow Builder OverviewWorkflow Blocks
- Assign Case to Agent
- Bright Pattern Search Object
- DB Execute
- Exception Handler
- Fetch URL
- Get Next Record
- Get User Configuration
- Internal Message
- RightNow Create Object
- RightNow Search
- RightNow Select Account
- RightNow Update Object
- Salesforce.com Delete
- Salesforce.com Insert
- Salesforce.com Search
- Salesforce.com Select Account
- Salesforce.com Update
- Send Message+
- ServiceNow Create Object
- ServiceNow Search
- ServiceNow Select Account
- ServiceNow Update Object
- Set Variable
- Start Another Workflow
- Transfer Case to Service
- Zapier Invoke Zap
- Zapier Select Account
- Zendesk Create Object
- Zendesk Search
- Zendesk Select Account
- Zendesk Update ObjectVariable and Expressions
- String Expressions
- Integer Expressions
- Floating Point Expressions
- Built-In Functions
The Exception Handler workflow block provides an alternative branch the workflow can execute if an exception, a block error, or a disconnection occurs. This allows the workflow to continue executing instead of terminating as it normally would under such circumstances without the Exception Handler block. Use this block in any part of a workflow in which you expect exceptions, block errors, or caller disconnects in order to ensure continued processing.
The Exception Handler block may take one of the following conditional exits: Try or Catch.
Try In the Try conditional exit, enter the sequence of blocks that you predict might generate an exception, block error, or disconnect.
Catch In the Catch conditional exit, enter the sequence of blocks that you want the workflow to execute if an exception, block error, or disconnect occurs during the Try conditional exit.
The Exception Handler block initially executes the Try conditional exit.
- If an exception, block error, or caller disconnect occurs while executing any block in the Try conditional exit, the workflow executes the Catch conditional exit. After executing the Catch conditional exit, the workflow executes the next block in the flowchart.
- If no exception, block error, or disconnect occurs, the workflow does not execute the Catch conditional exit. Instead, the workflow processes the next block in the flowchart.
After execution, the Exception Handler block stores one of the following values in the Exception interaction property:
- Disconnect - The caller disconnected.
- Error - A block error or exception occurred.
- No - No exception occurred (normal processing).
Title text is the name of the instance of the block. Enter a name in the text field and the new name of the block appears in the flowchart.