Salesforce

Save Points (Magic xpi 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Save Points (Magic xpi 3.x)

The Save Point option lets Magic xpi back up information in a flow up to a defined point (the Save Point). When you select this option, Magic xpi recovers the flow from the last Save Point reached in your flow.

Before each step is executed, the Magic xpi Server checks to see if the step is defined as a Save Point. If the step is defined as a Save Point, Magic xpi creates a recovery object and stores it in the Space

The recovery object contains data such as flow variables, as well as a User BLOB, and previous Save Points in the same thread are overwritten.

When the Magic xpi Server starts up, threads are ended and activity objects are deleted. The flow is re-executed and each Save Point object is re-activated in a separate thread. For each Save Point, the final stage is when flow sequence recovery objects are deleted.

The Magic xpi Server saves the user data and the flow variable values each time the Server reaches a Save Point in a folder called rcv.

Note:

Save Points are only relevant in the main thread. Therefore, Save Points defined in parallel or stand-alone branches are ignored.

Multiple Save Points

You can define more than one Save Point for a flow. You can define Save Points at different points of your flow so that if a system crashes, Magic xpi recovers all the data up to the last Save Point reached.

When you define more than one Save Point on the same linear branch, Magic xpi will recover the flow from the last-reached Save Point (all previous save points on the branch are overwritten by the last one).

Reference
Attachment 
Attachment