Error Handling Sequence (Magic xpi 3.x)
Magic xpi handles errors in the following sequence:
-
When there is an error in a step, Magic xpi exits the step and triggers the Error Handling mechanism.
Note:
|
In Data Mapper and SAPB1 steps, you can set the step to exit or continue.
|
|
-
Magic xpi calls a user-defined error handling flow (error flow) if it exists.
-
If there is no error handling flow, Magic xpi handles the error based on the Flow Error policy.
-
The next step in the flow logic can be conditioned according to the value returned from the C.sys.ErrorCode variable.
These sections break each of these steps down into detail:
Error in the Step
Error Handling Flow
Error Policies
Error Handling in a Step