Jump to content

Recommended Posts

Posted

I have a Human Task that is hardcoded to assign to a Role but I want to determine the assignment according to an earlier decision in the BPM such as:

  • If the Request is for the infrastructure team I want the Human Task assigned to Team - infra
  • Else I want it assigned to Role - app support as per below screenshot because apps have multiple teams but share a role

Question: am I right thinking that the Variable option can only contain a UserID (i.e. a single person) and not a Role or Team or Group? Implied by BPM Human Tasks - Hornbill

In which case I would read the options as:

  • Assign to Role
  • Assign to Group
  • Assign to User
  • Assign to User Variable

i.e. there is no way to make the assignment by ROLE, TEAM or GROUP variable?

image.png.fe0d7b3dc07cbe86f0ed97d2c880c228.png

  • Like 1
Posted

I seem to recall the variable option here defaults to looking for users if you don't provide the full urn, but I have used the variable option in the BPM to assign a human task to a group. The format is "urn:sys:group:<groupID>".

I haven't tried with roles, but looking at the "Assigned to" field in the h_sys_tasks table suggests to me that it follows the same format (urn:sys:role:<role id>).

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...