Candidate user expressions

A candidate user is a user who can perform a workflow task. You can specify candidate users by using candidate user expressions, such as role(Business Steward), user(John), or group(Data Custodians).

You can include a comma or other punctuation marks, except semicolon, in your candidate user expressions. If you use punctuation marks, you must enclose the user expressions in curly brackets, for example {role(Business Steward; Community, Inc)}.

It is best practice to use curly brackets for all user expressions, whether the user expression contains a punctuation mark or not.

Expression Description
role(<roleName>)

Assigns the task to users with the specified role on the workflows business item. In case of a global workflow, you can use global role names.

{role(Business Steward)} assigns the task to users with the Business Steward role.

role(<roleName>;<communityName>)

Assigns the task to users with the specified role on the specified community. This is independent of the current workflow business item.

{role(Business Steward;Sales Community)} assigns the task to users with the Business Steward role in the Sales community.

This expression includes any inherited responsibilities.

role(<roleName>; <communityName>; <domainName>)

Assigns the task to users with the specified role on the domain with the specified name in the given community. This is independent of the current workflow business item.

{role(Business Steward;Sales Community;Pre Sales)} assigns the task to users with the Business Steward role on the Pre Sales domain in the Sales community.

This expression includes any inherited responsibilities.

role(<roleName>;<entityLevel>)

Assigns the task to users with a role on the workflow business item, but only if they have the role on the specified level. Possible entity levels are Term, Vocabulary and Community, which respectively indicate roles to be on the Asset, Domain or Community level.

{role(Business Steward;Term)} assigns the task to users with the Business Steward role on the asset.

role(<roleName>;<relationName>)

Assigns the task to users with the specified role on assets that are related to the current workflow business item with the given relation name.

{role(Stakeholder;Complies To)} assigns the task to stakeholders of assets that are related by the Complies To relation.

role(<roleName>; <entityLevel>; <relationName>)

A combination of the role(<roleName>; <entityLevel>) and role(<roleName>; <relationName>) expressions. This expression assigns the task to users of the target-related asset with a role on the given entity level.

{role(Stakeholder; Term; Complies to)} assigns the task to stakeholders on the Asset level of assets that are related by the Complies to relation.

user(<userName>)

Assigns the task to the user with the specified name.

{user(John)} assigns the task to John.

group(<groupName>)

Assigns the task to the users in the specified group.

{group(Data Custodians)} assigns the task to the users in the Data Custodians group.