Raise Exception

   

 

The raise exception action will cause an error condition to be set when it is executed. The flow of the project will then change as if an error had occurred.

 

raiseexception

 

The flow will depend on if the action is enclosed in any Try blocks, and if the error isn't handled by an EXCEPT block then the flow will switch to the OnFailure action list.

 

In the example above, the project stopped with status "Succeeded" because the exception was handled in the Try/Catch block.