✅Tasks
As part of a case process, some tasks need to be manually completed by a person. These tasks are called user tasks and often require some input of data or approval.
Valtimo only shows tasks to a user that have not been completed yet. They can be accessed via the case the task belongs to, or Tasks
in the main menu.

The Tasks
menu item brings the user to a task list view, which combines tasks from different cases. The available categories are:
My tasks: These are tasks that have been assigned to the current user.
Unassigned tasks: These tasks have not been assigned to any user.
All tasks This view shows all tasks regardless of assignment.

When clicking on a task from the list, it will open the form that the user can fill in to complete it. After completion, the task will no longer be visible to the user.
A user can filter the tasks by case via the top dropdown:
When no case is selected: tasks from all cases is shown. This view uses the task columns as configured in code. These columns cannot be changed via the UI.
When a case is selected: the tasks are filtered by that case, and the columns as configured for that case are shown. For more information on configuring task list columns for a case, click here
Columns
Task list columns can be configured to change the visible columns in the task list.
Go to the
Admin
menuGo to the
Tasks
menuSelect the case to configure task list columns for
From here, it is possible to:
Add columns
Edit columns
Sort columns
Delete columns
Adding a column
A column can be added by clicking on the Add column button. This will open the following modal:

Title If this field is filled in, this title will display as the column header, overriding any available translations.
Key A unique key by which the column is identified. If the key is not unique, you will not be able to save the column.
Path A path which leads to the property you want to show. For the document's JSON schema, follow this example:
doc:customer.firstName
. For document properties, follow these examples:case:createdBy
, orcase:sequence
, orcase:assigneeFullName
.
Display type This option decides how the data is eventually displayed in the table.
Sortable Whether the column will be sortable by the user
Default Sort If this field has a value, the table will be sorted by default on this property, in the direction specified. Only one column at a time can have this property. On creating a new column, if another column already has a default sort specified, this input field will be disabled.
Available properties
The following properties can be shown in the task list:
Properties from the document, with the '
doc:
' prefix. E.g.:doc:first-name
Properties from the task, with the
task:
prefix. The following properties are available:createTime
name
assignee
dueDate
Search fields
Task filters enable users to search tasks that meet one or more of the configured criteria. These filters can be configured by an admin.
Configuring task search fields
Go to the
Admin
menuGo to the
Tasks
menuSelect the case to configure serach fields for
On the Search fields
tab, search fields can be added, edited or removed.

When adding or editing a search field, the available options are similar to the case search fields. More information on case search fields can be found here.
For task list filters the following path prefixes are available:
doc:
case:
Using task search fields
Since task filters are configured on a case, they will only be available when the user selects a case from the dropdown. For 'All cases', the additional filters will not be available.
With these filters, a user can filter on data from the document or case the task relates to.

Just like the case search filters, these filters will behave differently depending on how the admin configured the fields.
Import and export
The configurations for task list columns and task search fields are included in the case definition import and export by default.
Access control
Access to the processes can be configured through access control. More information about access control can be found here.
Resources and actions
com.ritense.valtimo.camunda.domain.CamundaTask
assign
Allows assigning users to a task.
assignable
Allows users to be assigned to a task.
claim
Allows claiming of a task.
complete
Allows completion of a task.
view
Allows viewing of a task.
view_list
Allows viewing of tasks.
com.ritense.valtimo.camunda.domain.CamundaIdentityLink
Task identity links have no actions currently. As a result, they can only be used as part of container conditions. See the example here on how to use this.
Examples
Last updated