Business Process Designer > Business process modeling > Graphical elements / Task

Task

1.png

A user task is performed by an employee as part of a business process. Tasks are assigned automatically in the order they appear in the process diagram. They represent the steps that the process participants have to complete to achieve a specific outcome.

For example, in the purchase request process, employees will perform such tasks as fill in and consider the request, check stock availability, etc.

12.png

How to configure a user task

All settings are configured on 4 tabs: General, Form, Deadline, and Connectors. You can add a template for the task name, select multiple-instance execution, change the form, specify a deadline, etc.

Double-click on the task shape in the process diagram to open the settings window.

General Tab

360019523691-mceclip0

The General tab contains the main information about the task:

  • Name – In this field, you specify the name of the task in the process diagram. It should be short and succinct to make the process easy to read.
  • Task name – To provide a more detailed task description to the executor, select the option Generate name from template. The executor will see the information entered in this field in the task list or on the task page. You might want to include context variables in the template by clicking on the (+) icon in the right corner of the Template field.

360019500792-mceclip0

If this option is not used, the text specified in the Name field will be displayed in the task list and on the form.  

  • Notification - when this option is selected, the executor will be notified about the assigned task.
  • Reassignment – use this setting to allow or forbid an employee to reassign a task to other colleagues.
  • Multiple Instance – this setting is available only if a swimlane represents a group of users or a department. The task will be assigned to all employees within the group or department, but the system’s behavior will depend on the option selected:  
    • N/A – all the executors represented by the swimlane will be simultaneously assigned with the task. Once somebody starts working on the task, it will disappear from the task list of the other executors.
    • Parallel – the task will be assigned simultaneously to all executors specified in the swimlane settings. The process will continue only after all executors complete the task.
    • Sequential – executors will be assigned with the task one after another. The process proceeds to the next step after all employees complete the task.

Please note that in case of a dynamic swimlane, the executors will be selected in the order they are specified in the variable that defines swimlane executors. For a static swimlane, the sequence is determined randomly.

Below you can find examples that help you better understand how to use multiple instance tasks properly.

начало примера

Example 1.

Consider the work of the warehouse. Any warehouse employee can prepare goods for shipping. It does not matter who exactly will be engaged in bundling and packaging; what really matters is to complete the task as quickly as possible. If you select the "N/A" option, the task will be assigned to each warehouse employee, and the one who is less busy at the moment will be able to immediately start doing it. As soon as QuickBPM gets confirmation that an employee has taken on the task (for this the employee needs to click on the confirmation button on the task page), it will cancel the task for other executors.

конец примера

начало примера

Example 2.

Consider such a case, all meeting participants should be informed of its outcomes in writing. After the meeting is held, the outcomes are recorded in the system and sent to the participants. It is important that every employee who attended the meeting read this information, but the order in which the task will be executed does not matter. If you select the “Parallel” option, all meeting participants will be assigned with the task “read a report of the meeting outcomes”, and until each of them completes the task, the process will not move on.

конец примера

начало примера

Example 3.

Suppose that several managers need to read and approve the report before the process continues. If you select the “Sequential” option, the system will first assign the task of reviewing the report to one manager, and after he or she approves the document, to another. In the connectors settings, you can specify how the system should behave if someone from the approvers rejects the report. read this article, to find out how to do it.

конец примера

 

Form Tab

360019644812-mceclip1

This tab allows you to configure the display of the task form. Drag the variables from the Context column to the Name on form column. To create a new variable, click the +Add button. Each variable is a field on the task form.

Specify which variables are required 8.png, and which are read-only9.png. Read-only fields can be hidden from the form if empty. Just click on the field's name in the list to open its settings and check the Hide if the field is empty box.

02.PNG

начало внимание

This setting is not available for app-type fields.

конец внимание

If you add an App type variable to the form, you can select app fields and make them visible on the form. To do this, click on the App name in the column Name on form. In the pop-up window, go to the Properties tab, select the required fields and click Save.

360019525091-mceclip2

The fields will be added to the form and displayed under the app name.

360019645972-mceclip3

Even if a user doesn't have sufficient access permissions to edit app items, he or she will still be able to edit app fields on the task form. In this case, the user is not granted direct access to the app and will not be able to edit the item after filling out the form.

More information about context variables can be found in the article about the business process context.

Keep in mind, if you set up the main app process or an associated process, then on the Form tab, you will see a switch that allows you to work with both process variables and app properties.

Switch to the process context if you want to work with variables that are directly related to the business process but not relevant to the app. As an example, think about such variables as the initiator, comment on a task, executor of a swimlane or other workspace app.

Select the app context, if you want to add or remove properties that are relevant exclusively to the app. The property that you create in the designer will be added to the creation, viewing, and editing forms of an app item.

If the functionality of the standard form is not enough, create your own template using the form editor. Here we describe in detail how to create forms templates.  

Deadline Tab

360019525771-mceclip9

For some tasks, it is crucial to meet deadlines and stay on schedule. This is especially true when you think about customer communications. Quickly handled applications, timely delivered goods provide your competitive advantage.

On this tab, you can customize the deadlines for the task, as well as determine what happens if at the specified time the task is not done.

There are two ways to set the task deadline:

  • Exact time. Specify how many minutes, hours or days will be spent on the task. The deadline can be specified taking into account the setting of the business calendar
    360019525391-mceclip6
  • Variable. Sometimes it is impossible to determine how much time it requires to complete the task, but it is important that the work is done by a specific date. For example, an employee specifies the leave start and end dates, and the accountant must calculate the vacation pay and give the money 3 days before the employee takes his or her vacation. In this case, the task deadline time can be determined by the context variable.
    360019525531-mceclip7

It may happen that the task will not be completed by the specified time, despite the deadlines. In this case, control tools are needed to timely respond to the situation and take necessary measures.

In the Notification field, you can specify the employees who will receive a notification if the executor does not meet the deadline. You can add a current user, a context variable (for example, the Initiator), a user group or an org chart item to determine the notification recipient.

360019525571-mceclip8

In the Interrupt field, define the next process step that must be taken if the executor does not complete the task in time. For this choose the appropriate connector name in the drop-down list.

360019646472-mceclip10

The process will automatically go down the selected connector if the task deadline is not met and the executor does not confirm that the task has been completed. In the process diagram, such connector has a clock icon.

360019646532-mceclip11

For example, for a company, it is very important to meet the order processing deadlines. Warehouse employees must timely check stock availability and, if necessary, purchase the missing goods. This task is limited in time. If the employee does not meet the deadline, QuickBPM will automatically assign the task to the purchasing manager to deal with the situation.

Connectors Tab

360019525931-mceclip12

On this tab, you can configure all the outgoing task connectors: edit the name, add confirmation, choose the button color, etc. To go to the settings, click on the name of the transition. Read more about how to set up connectors in this article.