Salesforce

Error Policy Options (Magic xpi 4.5)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Error Policy Options (Magic xpi 4.5)

The options are:

  • Abort: This terminates the current flow and carries out the Abort process.

  • Ignore: This ignores the error and the flow continues.

  • Restart Flow: This restarts the flow from the first step and carries out the Restart process.

  • Retry: This retries the current step. In the ifs.ini file’s StepRetryLimit= flag, you can set the number of times the Magic xpi Server will retry to execute a step when the Retry error policy option is selected. The default is 3 retries. You can control the delays between the retries using the StepRetryDelayTnSec= flag. If the limit is reached without the Magic xpi Server executing the step, the last error is saved in the c.sys.ErrorCode context variable. You can control whether the error is cleared from the variable using the StepRetryClearError= flag.

  • Jump: This jumps to another step (which is indicated in the Step column of the Error Policies repository). Jump enables you to go to a section of the flow that is not normally accessible. You can have a branch in the flow where the condition is False, and can only be reached by using Jump.
    When you use the Jump method, the flow continues from that step and does not continue with the step that raised the error.

Note:

Magic xpi also contains the Abort Flow utility. This service lets you abort the flow execution on purpose, as part of the flow logic. You also have the option to restart the flow automatically after it is aborted by the Abort Flow utility.

After the flow is aborted, the Cleanup recovery flow will run (if one exists).

Reference
Attachment 
Attachment