CloseAssignmentsAction
Closes one or more assignments as of a given end date, updating the assignment's schedule end date and optionally marking it closed for time and/or expense entry.
| Property | Value |
| Label | Close Assignments |
| Category | Resource Management |
| Since | Spring 2026 |
| Read-only | No |
| Supports Agents | No |
| Supports Flows | Yes |
| Async Action | No |
| Keywords | close, end, terminate, deactivate |
Request Parameters
| Field | Type | Label | Description | Required |
assignmentId | Id | Assignment ID | Enter an assignment ID or select a record ID from the drop-down list. | Yes |
endDate | Date | End Date | Select an end date on which to close the assignment. | Yes |
closedForTimeEntry | Boolean | Closed for Time Entry | If selected, closes the assignment for expense entry. Defaults to false. | No |
closedForExpenseEntry | Boolean | Closed for Expense Entry | If selected, closes the assignment for time entry. Defaults to false. | No |
Response Parameters
| Field | Type | Label | Description | Required |
assignmentId | Id | Assignment ID | The ID of the processed assignment. | No |
success | Boolean | Success | True if the action successfully closed the assignment. | No |
errorMessage | String | Error Message | The error message returned if the action fails to close the assignment. | No |
|