Implementation

After development and deployment of the Global Exception Handler AgileConnector, the implementation is done at the process model layer via the AgilePoint NX Process Builder or AgilePoint Envision.

All out-of-the-box and custom activities include a drop-down property activity called ExceptionHandlerScope. This drop-down is used to select either Local or Global where if Local is selected, the exception handling will be handled as normal by reporting exception data to the SaveErrorMessageTo and SaveStatusTo custom attributes and if Global is selected, the activity will continue to process as normal by reporting exception data to the SaveErrorMessageTo and SaveStatusTo custom attributes, but also calls on a custom AgileConnector with custom exception handling logic to handle the exception(s) as desired.

To use the Global Exception Handling option, you do not need to do anything extra in the AgilePart code, the implementation is determined at the process model layer as shown below.