Set the task priority based on the parent workflow task/doc priority

You might need to set the task priority based on the parent item priority. Use the following identifiers in your expressions as task priorities:

Value

ID

Low priority

cmw.taskPriority.low

Medium priority

cmw.taskPriority.medium

High priority

cmw.taskPriority.high

Workflow tasks/docs don't have a default system field for priority. Create a new field of the List of Values type intended for setting the priority of an item. For example, create the Request Priority (ID: Request_Priority) field and drag it to the form 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

Perform the following steps to set the child task’s priority based on the parent item’s priority:

1. Open a workspace, open an application inside a workspace.

2. Click Workflow and double click a required step.

3. In the window that appears, in the Actions group click Responsible Persons.

4. Select the Assign tasks and pre-populate task fields check box and expand Task Settings.

5. Set the following rule for priority:

 

IF ($parent->Request_Priority == ID(""Request_Priority.values.Low""),

ID (""cmw.taskPriority.low""),

If ($parent->Request_Priority == ID(""Request_Priority.values.Medium""),

ID (""cmw.taskPriority.medium""),

ID (""cmw.taskPriority.high"")

)

)

To check how it works, create a new workflow task and move it through workflow. On the required step the child task will be created with the priority set according to the predefined rule.

Attachments
There are no attachments for this article.
Feedback
Security Code
Related Articles
On-Premises Licenses
Viewed 45 times since Wed, Dec 5, 2018

Displaying The Dashboard In The Full Screen Mode
Viewed 47 times since Wed, Dec 5, 2018

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

My Active Tasks by Status
Viewed 78 times since Wed, Dec 5, 2018

Functions
Viewed 44 times since Wed, Dec 5, 2018

About CSV Import
Viewed 79 times since Wed, Dec 5, 2018

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

Deleting a Backup
Viewed 43 times since Wed, Dec 5, 2018

Navigation
Viewed 46 times since Wed, May 20, 2020

Invite Others to Try Comindware Tracker
Viewed 48 times since Wed, Dec 5, 2018