GetCheckInData#
Overview#
Retrieves the collection of employees who are currently checked in to a specified Process Activity.
Input Object#
| Name | Type | Description |
|---|---|---|
| Process Activity | IIndEqProcessActivity | Process activity to query for check-ins |
Output Object#
| Name | Type | Description |
|---|---|---|
| ProcessActivityEmployeeCollection | IIndEqProcessActivityEmployeeCollection | Collection of currently active (checked-in) employee records associated with the Process Activity |
Pre Conditions#
- The input must not be null.
- The provided Process Activity exists.
- The Process Activity has associated IndEqProcessActivityEmployee relations.
How it works#
The service calls ProcessActivity.IsCheckIn(true) to retrieve all active check-in relations. Internally, this function: - Loads the Process Activity and its IndEqProcess * relations. - Filters the relations to only include those with UniversalState Active. - Returns all such relations if *checkAllEmployees = true, or only the ones belonging to the current user if false and no Employee is provided.
Assumptions#
- The IndEqProcessActivityEmployee relations are properly maintained and reflect real-time check-in status.