Berto2002 Posted August 22, 2023 Posted August 22, 2023 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? 1
CraigP Posted August 25, 2023 Posted August 25, 2023 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>). 1
Berto2002 Posted August 25, 2023 Author Posted August 25, 2023 I will give that a go. That gives me some hope!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now