latestOpenAPI 3.1.02026-08-171503582.2 MB
6199a9464227
Workflow Task Assignment Rules
Update task assignment rules
Replaces the assignment rules for a task on a draft workflow revision. PUT semantics: send the full list of desired rules to replace all existing ones; send an empty array to remove all assignments. Each rule has a type discriminator: Static requires an email; Dynamic requires a sourceType (one of ChecklistInitiator, FormField, DocumentOwner, DocumentAuthor), and when sourceType is FormField, also a sourceWidgetId pointing to a Members or Email form field widget in the same revision. Returns the resulting assignment rules.
put/workflows/{workflowId}/revisions/{revisionId}/tasks/{taskId}/assignment-rules
Path parameters
workflowIdstring required
The ID of the Workflow
revisionIdstring required
The ID of the Revision
taskIdstring required
The ID of the Task
Request body
Response
Example response
{
"links": [
{
"href": "https://api.process.st/api/v1.1/resource/XXX"
}
]
}