Checkpoint (during flowchart execution)

The Checkpoint (during flowchart execution) option under Admin > Advanced settings automatically saves a flowchart run at specified intervals. Use this option to override the global configuration setting Campaign|partitions|partition[n]|server|flowchartSave|checkpointFrequency for a specific flowchart.

The Checkpoint feature provides the ability to capture a "snapshot" of a running flowchart for recovery purposes. A checkpoint save has the same effect as if you selected File > Save. This feature allows you to recover a flowchart in the state of the most recent checkpoint save, in the event the server stops or goes down.

When you set a frequency interval for checkpoint, it controls a timer on the server for a running flowchart. Checkpoint saves are made at the specified intervals.

Checkpoint is active during a flowchart run and when you run a branch in the flowchart. When the running flowchart saves, Unica Campaign saves it in Paused mode. When you open the flowchart, you must either stop or resume the flowchart. When you resume, the currently executing processes run again from the beginning.

Unica Campaign stores checkpoint files in a temporary directory (CAMPAIGN_HOME\partitions\partitionN\tmp), with the extension .asf. The .asf files are deleted when the flowchart execution successfully completes.

If the server process (unica_acsvr) goes down while the flowchart is running, then the flowchart run is recovered automatically from the .asf file. The execution flow can therefore resume from the last checkpoint that was saved before the process failed, so the flowchart run does not need to restart from the top process box.

The default setting for Checkpoint is Never.