Task Workflows
Task workflow progress tracking and step management for individual tasks. Provides endpoints to retrieve workflow groups with steps and progress statistics, initialize or reset workflow steps for a task (clears existing progress), remove workflow assignments from tasks, and update individual workflow steps (status, assignment, notes, time tracking). All operations validate dependencies and maintain workflow integrity.
-
POST
Set Task Workflow
Initializes workflow step instances for a TaskItem based on a workflow template.
Creates progress tracking records for each step in the specified wor...
/api/tenants/{tenant}/tasks/{taskCode}/workflow
-
DELETE
Remove Task Workflow
Clears all workflow step progress for a TaskItem.
Removes all workflow progress tracking:
- Deletes all TaskItemWorkflowStep instances
- Resets workf...
/api/tenants/{tenant}/tasks/{taskCode}/workflow
-
GET
Get Task Workflow Groups
Retrieves comprehensive workflow progress information for a TaskItem.
Returns detailed progress data including:
- Overall completion statistics (tota...
/api/tenants/{tenant}/tasks/{taskCode}/workflow/groups
-
PUT
Update Workflow Step
Updates a workflow step by group number and step number with comprehensive field support.
Allows updating any combination of:
- Status (v...
/api/tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}