Salesforce

Error Handling Flow (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Error Handling Flow (Magic xpi 3.x)

You can create a flow that will handle errors. You simply create a new flow and define one or more steps to handle errors.

You can then use this error handling flow from any other flow via the calling flow’s Error flow property located in the Flow Properties dialog box.

When you select a flow from the Error flow property, the image appears at the top of the flow area as shown in the image below.

Now, for any error in this calling flow, the error handling flow is triggered.

Note:

The Magic xpi Server automatically updates the error code, error description, and last error component type using the error system variables (C.sys.ErrorCode, C.sys.ErrorDescription and C.sys.LastErrorComponentType). By default, the C.sys.ErrorCode and C.sys.ErrorDescription variables are cleared when starting the error handling flow execution. In the error handling flow, C.sys.LastErrorCode, C.sys.LastErrorDescription, and C.sys.LastErrorInfo hold the values of the last errors, so you can use these error variables throughout the error handling flow execution.

Related Topics

Data Mapper Database Destinations

DB Transaction Level

Reference
Attachment 
Attachment