Checkpoint
Checkpoint is an asynchronous activity that executes a checkpoint in a running process instance. A checkpoint saves the current process data that can be recovered, if the event fails. If a process engine fails, all the process instances can be recovered and resume the execution of their last checkpoint in the process. Configuring the process engine to checkpoint data for the failed process helps optionally, to recover the process instance at a later stage. This happens if the process fails due to an exception that cannot be handled or terminated manually.
General
The General tab has the following fields.
| Field | Description |
|---|---|
| Name | The name to be displayed as the label for the activity in the process. |
| Timeout | This field specifies the amount of time (in milliseconds) to wait before and after the checkpoint. If a process engine fails, all the process instances can be recovered. These recovered process instances resume the execution of their last checkpoint in the process. |
| Duplicate Key | A key value that is used to compare with other process instances to determine whether another process instance with the same
Duplicate Key value already exists.
When multiple Checkpoint activities exist in the process, there is no need to set Duplicate Key values for the subsequent Checkpoint activities. When the Duplicate Key values set for the subsequent Checkpoint activities, the values must be equal to the Duplicate Key value specified for the first Checkpoint activity. Note: An error is generated if the
Duplicate Key values are different for the subsequent
Checkpoint activities
|
Description
Provide a short description for the activity.
Fault
The Fault tab lists the possible exceptions generated by this activity. For more information about error codes and the corrective actions to take, see the TIBCO ActiveMatrix BusinessWorks™ Error Codes guide.
| Fault | Generated When.. |
|---|---|
| DuplicateKeyException | Duplicate Key values are different for the subsequent Checkpoint activities. |
| ActivityTimedOutException | A timeout has been reached. |