ResumeProcessActivity
Overview
Resumes a paused Process Activity by restoring its system state to InProgress, resuming the associated Checklist Instance if paused, and ensuring the current user is properly checked in if required.
| Name | Type | Description |
| ProcessActivity | IIndEqProcessActivity | The Process Activity to be resumed. |
Output Object
| Name | Type | Description |
| ProcessActivity | IIndEqProcessActivity | The Process Activity after being resumed. |
Pre Conditions
- Input must not be null.
- The Process Activity must be in the Paused state.
- If the Process Activity Definition requires a role, the current user must have it.
- If the Process Activity requires check-in, the current employee must be checked in.
How it works
- Validates the input object and loads the Process Activity.
- Checks that the Process Activity is in the Paused state.
- Updates the system state of the Process Activity to InProgress.
- Resumes the active Checklist Instance if it was paused.
- Validates that the user has the required role.
- Performs automatic check-in if AutoCheckOutOnPause is enabled.
- Ensures the employee is checked in if EnableCheckIn is set.
- Returns the updated Process Activity in the output object.
Assumptions
- AutoCheckOutOnPause and EnableCheckIn flags are correctly configured in the Process Activity Definition.