Assign a manager to a workflow task depending on the priority

Let's assign a manager to a workflow task depending on the workflow task priority. For this example we use the IF function.

To create the rule:

Select a workspace, select an application inside a workspace, click Fields.

1. Create the Request Priority (ID: Request_Priority) field of the List of Values type. This field is required for creating the list of priorities of a workflow task. Populate the list with the following values:

Value

ID

Low

Request_Priority.values.Low

Medium

Request_Priority.values.Medium

High

Request_Priority.values.High

2. Create the Manager field of the User type. Select the Calculated check box in Field Attributes (the Read Only attribute will be set automatically) and type the expression in the Field Expression box. Type the required account identifiers in the IF function, for example, account.6 and account.5. Add the identifier of a priority value as the IF condition, for example, Request_Priority.values.High.

 IF($Request_Priority == Request_Priority.values.High, account.6, account.5)

3. Click Save.

4. Go to Form. Drag the created fields to the workflow task form.

To check how it works, create a new workflow task, fill in the required fields and click Save. Change the priority of the workflow task to change the manager.

Attachments
There are no attachments for this article.
Feedback
Security Code
Related Articles
Administering Comindware Tracker
Viewed 49 times since Wed, Dec 5, 2018

Comindware Maintenance Mode
Viewed 78 times since Wed, Dec 5, 2018

List of tutorials
Viewed 132 times since Wed, Jul 15, 2020

Configuring Integration Settings in Microsoft SharePoint
Viewed 77 times since Wed, Dec 5, 2018

Automatic Time-Based Transitions
Viewed 78 times since Wed, Dec 5, 2018

Step 1: Add Users And User Groups
Viewed 95 times since Wed, Dec 5, 2018

Parallel tasks in Comindware Tracker
Viewed 93 times since Wed, Dec 5, 2018

Header
Viewed 45 times since Wed, Dec 5, 2018

Check if a related workflow is in particular status
Viewed 44 times since Wed, Dec 5, 2018

Feature comparison of mobile apps and add-ins in Comindware Tracker
Viewed 43 times since Wed, Dec 5, 2018