...
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Overview
Excerpt | ||
---|---|---|
| ||
Add tasks to workflow states |
The {task}
macro is used to automatically create tasks when a workflow {state}
is entered.
Where to use it?
Optional.
One or more {task}
macros can be put in a {state}
macrostate macro.
Within a {state}
, each {task}
must be uniquely named.
Info |
---|
Tasks can be added for each workflow state using the Edit states panel in workflow builder |
Parameters
Parameter | Required | Default | Notes | Ver |
---|---|---|---|---|
unnamed first parameter |
Name of task:
|
|
|
|
| 3.0+ | |||||||||||||||
| Task assignee:
If no assignee specified, any user with edit permission on the associated content can assign or complete tasks.
| 3.0+ | ||||||||||||||
| Due date for task completion:
If specified, the task, if not completed, will eventually expire and trigger a taskexpired event.
| |||||||||||||||
| Note to associate with the task:
| 3.2.7+ | ||||||||||||||
DeprecatedThe following parameters are no longer supported. | ||||||||||||||||
|
| 3.0 |
Notes
A {state} can be configured to automatially automatically transition once all tasks are completed via its completed
parameter.
Events
The following Events relate to tasks:
taskcreated
taskassigned
taskcompleted
taskexpired
Example
Code Block | ||||
---|---|---|---|---|
| ||||
{workflow:name=Task example} {state:Tasks|completed=Done} {task:Some task} {state} {state:Done} {state} {workflow} |
All examples
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|