Server

About Tasks

Updated: March 18, 2024

You'll find here what you need to know about tasks that are created via the workflow service.

Dashboard

The user tasks dashboard on the Workflow tab in the Home menu is based on querying the tasks. It is possible to redefine the query and the complete content view (so as to choose the columns that are displayed for instance) by redefining the content view user_open_tasks.

Resolution Screen

The resolution screen is made as a "Tab", based on a grid layout. One of the pieces you may want to override on this screen is the list of metadata displayed for the bound documents. You can for this override the task_target_documents content view. More exactly merge a new listing layout in it.

TasksInfo

When a task is closed, the workflow engine stores useful information on the node about the task: The name of the user who solved the task, his comment and the id of the button that was clicked. Information can be accessed in the automation context via the object "NodeVariables["tasks"]" that returns a TasksInfoWrapper object that is a list of TaskInfo. When a node creates multiple tasks, all the resolution information of each task can be found on the NodeVariables["tasks"] object.

Delegation

The workflow module allows task delegation. Delegatees are stored on the task in a separate property than the assignees (task: delegatedActors). That way it is possible to know when someone is assigned a task directly or by delegation. The workflow engine sets the the same ACLon the bound documents for the delegatee as for the main assignee. When the task is closed, an audit entry is set on the document tracking that the user acted as a delegatee of the main assignee.

It is also possible to reassign a task. In that case the value in the "Actors" list is changed directly.

Task Type Definition

The default document type for tasks created by the workflow engine is TaskDoc. It is possible to use of any type of document as long as the document type has the facets Task and RoutingTask, and the task lifecycle. You can specify on the node properties which type of task to create.