wfm.AdminRollbackProcess
This job resets a process to the specified activity and returns all activities of the process that would be deleted thereby. The rollback point at the activity itself is determined via the ExecutionPoint parameter. You can rollback to an activity before it is created or before it is finished. Before a process can be rolled back, it must be suspended via the job wfm.AdminSuspendProcess.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
STRING |
Yes |
Instance ID of the activity to which the process should be reset |
|
INT |
Yes |
Starting point at the activity: |
|
INT |
Yes |
|
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
BASE64 |
— |
Contains all activities that would be deleted after rollback ( |
4. Example
Structure of RunningActivities:
<RunningActivities>
<RunningActivity Id="" RActivityId="" Name="" State="" CreationTime=""/>
<RunningActivity Id="" RActivityId="" Name="" State="" CreationTime=""/>
</RunningActivities>
Detailed description of RunningActivity attributes:
-
Id(STRING): ID of the activity from the workflow model -
RActivityId(STRING): Instance ID of the activity -
Name(STRING): Name of the activity -
State(INT): Status of the activity -
CreationTime(INT): Creation time of the activity (timestamp)