AgilePoint Developer |
AgilePoint makes available to customers options for flexibility in exception handling for out-of-the-box, and custom AgileParts by enabling the ability to implement custom logic. For out-of-the-box exception handling functionality, AgilePoint writes AgilePart exception information (e.g. error message and status) to custom attributes to be viewed via AgilePoint Enterprise Manager or reported on later. The following information will show how to extend the out-of-the-box exception handling capabilities for AgileParts to call on a custom exception handler AgileConnector to perform more refined custom exception handling.
AgilePoint Envision includes a drop-down property called ExceptionHandlerScope for AgileParts that enables the user to select either Local or Global. If Local is selected, the exception handling will be handled as normal by reporting exception data to the SaveErrorMessageTo and SaveStatusTo custom attributes. If Global is selected, the AgilePart will continue to process as normal by reporting exception data to the SaveErrorMessageTo and SaveStatusTo custom attributes, but also includes the extended ability to call on a custom AgileConnector with custom exception handling logic to handle the exception(s) as desired. Now users have the extended ability to implement whatever logic is required to handle exceptions (e.g. custom error handling based on error message or error code, database interactivity, etc.).