Skip to Content

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:









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.