With so-called savepoints, you can persist the complete state of the process engine with the processed data and status information in the X4 BPMS when running a Technical Process instance in the file system.
If the Technical Process is continued from a savepoint, the persisted data is used. If data, adapters, and subprocesses are called for the first time in the subsequent execution of the Technical Process, they are integrated in their current version.
You can define Savepoints in theX4 Designer by selecting a transition line (Transition) in the process diagram and specifying one of the following operations for the Savepoint property in the Properties view:
|
|
|
Sets the savepoint and immediately resumes the process execution. For more complex Technical Processes, you can use the operation to save intermediate statuses. If errors or failures occur, the Technical Process can be restarted directly from the last avepoint and does not have to be executed completely again. |
|
|
|
Sets the savepoint and stops the execution of the Technical Process instance. This allows you to implement long-running processes that can be "put to sleep" during execution until, for example, data manipulation or maintenance is complete. You can then continue the Technical Process instance. |
|
|
|
Deletes the current savepoint. |
-
Database transactions or cursors cannot be persisted.
-
You can save a savepoint for each process instance. If several savepoints are set within a process, the latest state of the respective savepoint is used.
-
Savepoints cannot be used in debug mode.
Continuing the execution of a process instance via the monitoring interface
-
Open the monitoring interface in the browser.
-
Select the desired paused process in the instance view.
The process is displayed in the details view. -
Under Savepoints, select the desired savepoint.
-
Click Restart/Resume to continue the corresponding process instance.
The execution of the process instance is continued based on the current savepoint with all processed data and the persisted state of the process engine.