Rethrow
This activity rethrows the error from the catch branch in a Try-Catch activity, potentially terminating the workflow. This activity must be used inside a catch branch of a Try-Catch activity.
Example: Sally puts an Update Word Document activity that she suspects will encounter an error in the try branch of a Try-Catch activity. If the Update Word Document activity encounters an error, Sally wants to notify the IT team. If the IT team can fix the problem, she wants the workflow to continue, but if they cannot fix the problem, she wants to recreate the original error so the workflow terminates. She puts an Email activity in the catch branch that notifies IT and waits for them to set a field to say if they have fixed the problem. If IT fixes the problem, a Conditional Decision activity runs the Update Word Document activity and the workflow continues. If IT cannot fix the problem, the Conditional Decision activity rethrows the original error, terminating the workflow.
Show me what this looks like
To set up this activity:
- Drag the activity from the toolbox pane and drop it in the Designer pane.
- In the properties pane, type a name and description of the activity.
You may want to disable activities if you only want to test specific sections of your workflow. To disable activities:
- Select an activity in the designer pane to highlight it.
- In the Description property box, clear Enable.