Set the task assignee depending on parameters of the parent workflow task/doc

Setting the task assignee depending on the priority of the parent workflow task/document.

To set the assignee of the child task depending on the priority of the parent item, take the previous example and substitute the functions of subtraction with the identifiers of required users.

Perform the following steps to specify the assignee of a task:

1. Open a workspace, open a workflow app inside a worksapce.

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 assignee:

 

IF ($parent->Priority == ID(“Priority.values.Low”),

ID (“account.4”),

If ($parent->Priority == ID(“Priority.values.Medium”),

ID (“account.2”),

ID (“account.6”)

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 and its assignee will be set according to the predefined rule.

 

Setting the task assignee depending on an item field of the ‘User’ type.

If you want to set a responsible person on a particular workflow step for a workflow task and want this person to be automatically specified as a task assignee on certain subsequent steps, you can use this example.

Do the following to configure the rule:

1. Open a workspace, open a workflow app inside a workspace, click Workflow.

2. To be able to set a responsible person for a workflow task you should create a new field of the User type in the workflow app or use the existing one if any. For example, the Responsible field (ID: Responsible).

3. Go to Workflow. Make this field mandatory on the required step.

Type the following expression in the Assignee field of each task you want to be assigned to the responsible person:

 $parent->Responsible

Use the following expression for a subtask assignee:

 $parent->$parent->Responsible

To check how it works, create a new workflow task and move it through workflow. On the required step you will be prompted to select a responsible person from the list of available users.

Selected user will be automatically specified as a task or subtask assignee on the required subsequent steps.

Attachments
There are no attachments for this article.
Feedback
Security Code
Related Articles
About Applications
Viewed 150 times since Wed, Dec 5, 2018

Specifying Common Properties
Viewed 140 times since Wed, Dec 5, 2018

Managing Permissions To Perform a Transition
Viewed 134 times since Wed, Dec 5, 2018

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

Default User Groups
Viewed 81 times since Wed, Dec 5, 2018

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

Details pane
Viewed 81 times since Wed, Dec 5, 2018

About Single Sign-On
Viewed 134 times since Wed, Dec 5, 2018

Connecting To Active Directory
Viewed 204 times since Wed, Dec 5, 2018

How To Update % Complete
Viewed 69 times since Wed, Dec 5, 2018