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, email configuration, time tracking). Supports customizing email recipients and execution mode for SendEmail steps before execution. All operations validate dependencies and maintain workflow integrity.
-
POST Set Task WorkflowInitializes workflow step instances for a TaskItem based on a workflow template. Creates progress tracking records for each step in the s.../tenants/{tenant}/tasks/{taskCode}/workflow
-
DELETE Remove Task WorkflowClears all workflow step progress for a TaskItem. Removes all workflow progress tracking: - Deletes all TaskItemWorkflowStep instances - .../tenants/{tenant}/tasks/{taskCode}/workflow
-
GET Get Task Workflow GroupsRetrieves comprehensive workflow progress information for a TaskItem. Returns detailed progress data including: - Overall completion stat.../tenants/{tenant}/tasks/{taskCode}/workflow/groups
-
GET Get Workflow StepRetrieves a single workflow step with current status and execution details. Use this endpoint to: - Check execution status after calling .../tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}
-
PUT Update Workflow StepUpdates workflow step properties including status, assignment, time tracking, and email configuration. Supports updating: - Status change.../tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}
-
POST Execute Workflow StepQueues a typed workflow step (e.g., SendEmail) for async execution. Validation: - Step must exist and belong to the tenant - StepType mus.../tenants/{tenant}/tasks/{taskCode}/workflow/groups/{groupNumber}/steps/{stepNumber}/execute