docs/main/end-user-guide/workflow-automation/work-with-tasks.mdx
In some workflows, there are time constraints on tasks and others may have more flexible timeframes. Associating tasks with deliverable dates provides visibility into workloads and helps everyone stay accountable during the run.
To assign a due date to a task, select the Toggle Run Details icon to open the Run Details screen. Hover over the task you’d like to edit and select the calendar icon to assign a due date. Due dates can be used to sort tasks in the run overview.
When a due date is assigned to a task, and the task is overdue or due today, a reminder is added to the playbook's daily digest along with tasks that don't have an assigned due date. As tasks are completed, they're removed from the daily digest reminders. You can refresh the list of assigned tasks at any time using the /playbook todo slash command.
Due dates can be entered in text (e.g., "two minutes ago") or numerically (e.g., "15 March 2023").
You can automatically complete tasks in a playbook run using keyword triggers. When the keywords you've entered are mentioned in the run, the task is marked as completed.
For this feature, you should use a string of text rather than individual words. The search is an ANY search, meaning that if you used the individual words "target" and "completed", either of those words will trigger the action to be marked as complete. If you're using phrases that have formatting, make sure you use the Markdown formatting in the text field.
When you edit a task, you'll see the following:
From Mattermost v11.1, using Mattermost in a web browser or the desktop app, tasks can be conditionally included in playbooks based on attribute values or runtime conditions. This enables adaptive workflows where tasks are only presented when they're relevant to the current context. For example:
To set up conditional behavior in a playbook:
Go to Product icon and select Playbooks.
Select the playbook or run you want to add conditions to.
Select the Outline tab.
Under Tasks, identify a task you want to make conditional.
From the More icon next to the task, select Add condition.
Select an attribute, condition, and value to define when the task should be included. Then select Done editing.
Conditional tasks are evaluated and automatically added to or removed from the checklist based on defined conditions. This reduces cognitive load by showing only relevant tasks and ensures that critical steps aren't overlooked in different scenarios.
<Tip>You can add up to 2 conditions per task to create an either/or condition.
</Tip>In addition to the daily digest, you also have access to a task inbox. The task inbox provides you with a cross-run overview of the tasks you're accountable for, sorted by due date.
You can:
To view your task inbox, access the Playbooks tab in Mattermost. In the header, next to your profile image, select the tasks list icon. A list of every task assigned to you from every run that's in progress is displayed.
From Mattermost v11.0 and mobile v2.32.0, mobile users can perform the following task management operations on playbook runs:
These mobile capabilities provide full task management functionality for teams working with playbooks while on mobile devices, complementing your existing desktop and web browser experiences.