Overview
The AssignTaskCommand assigns a task to one or more team members.
Example
{ "commandId": "cmd_assign_456", "commandType": "AssignTaskCommand", "timestamp": "2025-12-11T15:30:00Z", "version": "1.0.0", "data": { "taskId": "task_12345", "workspaceId": "ws_acme_corp", "assigneeIds": ["usr_jane_smith"], "assignedBy": { "userId": "usr_john_doe", "name": "John Doe" } }}Validation Rules
- Task must exist
- Assignees must be workspace members
- User must have permission to assign
- Cannot assign to deactivated members
Results
Success: TaskAssigned event is published