User Tasks
Task Templates

Task Templates

Task configuration is done through the task template. When configuring a user task, a template must be specified. The template includes various settings that affect the visibility of the task in the task list.

empty

The user task template includes the following parameters:

  1. Name and system name of the template - how it will be displayed in the template list and what the user task will be called.
  2. Regulatory processing time, min - the time given to process the task from its creation. If this time is exceeded, the task is considered overdue and marked with a red "Exclamation Mark" icon.
  3. Distribution algorithm - the algorithm automatically determines the task performer (in case of unavailability, reassignment is available in the task list). Users can choose an available algorithm from the list or add a new one by clicking "+".
  4. User task processing widget - a link to a widget designed for the user, displaying and processing the necessary input data.
  5. Responsible parties - a list of objects (user, role, user group) who have access to view the task in the user task list.
  6. Actions - a list of actions available for task processing. The listed actions must be designed (and considered) as branches on the business process diagram.
  7. Notification - connect a customized notification to send information about a task.
  8. Escalation - configuration of escalation for the created user task based on conditions. When the escalation condition is triggered, a child task with the "Escalation" mark will be automatically created for the user task. Available escalation criteria:
  • Task processing duration - regulatory task processing time. If the specified value is exceeded, an "Escalation" task will be created.
  • Exceeding the regulatory processing time - if the task has the "Overdue" mark, an "Escalation" task will be created.
⚠️

When processing an "Escalation" task, the parent task does not close.

Task processing interface

If you need to use an external interface in a human task, then you need to specify it in the human task template.

The following interfaces can be used for a human task:

  1. Interface from the registry of the Q.Palette web components.
  2. Web component
  3. Widget
Connecting the widget

To connect a widget, you need to specify its name in the form: <ui service name> : <component name> : <widget name>.

The widget can be made in the User Interface Designer or made by the developer himself.

The widget must be installed on the stand where it needs to be connected.

For the widget to work correctly with the task, it is necessary to embed the widget [according to the instructions from the documentation.] (/doc-faq#creating-a-widget-and-using-it-in-a-custom-task-template)

Connecting the Web component

In a human task, you can use both an external web component and a web component from the Web Component Registry.

The external web component connects to the specified URL as part of the application. Example URL of a web component:

empty

If a web component is used from the Web component registry, then simply select it from the list in the task template by name.

empty

⚠️

Important! You cannot interact with the task from the web component in any way or insert anything into the task.