Skip to content

PerformProcessActivity#

Overview#

Performs a Process Activity by validating the employee’s role, certifications, and check-in status. If the Process Activity is in the "Open" state with AutoBegin enabled, it will automatically start and create a Checklist Instance.

Action Groups#

  • Orchestration.IndEqManagementOrchestration.PerformProcessActivity.Pre
  • Orchestration.IndEqManagementOrchestration.PerformProcessActivity.Post

Input Object#

Name Type Description
ProcessActivity IndEqProcessActivity The Process Activity that will be performed.

Output Object#

Name Type Description
ProcessActivity IndEqProcessActivity The Process Activity that has been started.

Pre Conditions#

  • Input must not be null.
  • The Process Activity must be in the Open or In Progress state.
  • If the Process Activity Definition requires a role or certification, the employee must meet those conditions.
  • If the Process Activity requires check-in, the employee must be checked in or AutoCheckIn must be enabled.

How it works#

  1. Validates the input object and retrieves the current employee.
  2. Loads the Process Activity and verifies its system state.
  3. Checks employee role and certifications if required.
  4. Ensures the employee is checked in if the Process Activity requires it. AutoCheckIn performed if enabled.
  5. If the Process Activity is "Open" and AutoBegin is enabled:
  6. Opens a new Checklist Instance for the material.
  7. Updates the Process Activity system state to In Progress.
  8. Records the start date, start flow path, and Checklist Instance name.
  9. Returns the updated Process Activity in the output object.

Assumptions#

  • AutoBegin and AutoCheckInOnBegin flags are correctly configured in the Process Activity Definition.