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
Managing Permissions To Perform a Transition
Viewed 192 times since Wed, Dec 5, 2018

Getting your team to start using Comindware Tracker
Viewed 154 times since Wed, Dec 5, 2018

Using custom email notifications
Viewed 130 times since Wed, Dec 5, 2018

The My Desktop area
Viewed 253 times since Wed, Dec 5, 2018

Workflow Elements
Viewed 138 times since Wed, Dec 5, 2018

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

Where can I get the latest Comindware Tracker build?
Viewed 128 times since Wed, Dec 5, 2018

About Workflow Tasks
Viewed 214 times since Wed, Dec 5, 2018

How to set up notifications in Outlook for incoming Comindware Tracker messages
Viewed 106 times since Wed, Dec 5, 2018

Creating a User Group
Viewed 117 times since Wed, Dec 5, 2018