Jump to content

Task Assignment - Assign to Variable for Groups?


CraigP

Recommended Posts

Is it possible to use the "Assign to Variable" option on Human Tasks to assign to a group rather than user?

I've tried pulling in group details with "Get Organisation Details" and using this to feed the "Assign to Variable" field on a task. Neither the returned ID nor name properties seem to work. Am I using the wrong variable or is it just not possible to assign to groups or roles this way?

The error says "The specified user <...> doesn't exist", implying it is specifically looking for a user.

If this is the case, is there anything in development to allow the assign to variable functionality to be used for groups and roles?

Link to comment
Share on other sites

Hi @CraigP

I believe that your observation is correct where the variable option is only relating to users and can't be used for roles or groups.  How many groups are you expecting as options for this request?  I was just thinking that if there were only a few groups you could have a decision node that branches out to different assignment nodes, where each assignment node is set to a specific group.  

Link to comment
Share on other sites

11 hours ago, James Ainsworth said:

Hi @CraigP

I believe that your observation is correct where the variable option is only relating to users and can't be used for roles or groups.  How many groups are you expecting as options for this request?  I was just thinking that if there were only a few groups you could have a decision node that branches out to different assignment nodes, where each assignment node is set to a specific group.  

Hi James

We already do this (it's a choice between 3 teams). It is just that you then also have to replicate any subsequent tasks/nodes that use answers to the capture fields from the first task, and whenever I need to amend one of them, I need to replicate that amendment across all of them. It makes the BPM workflow unnecessarily bulky.

But thanks for confirming I haven't missed anything!

Link to comment
Share on other sites

  • 1 year later...

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...