Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Since the participants of each section are different, I have to create the same flow many times when assigning a task. Can I do this with a single flow by assigning a role to the participants?
sections:
flow in them:
Short answer is yes. I have done with using role variables. You would need to put some code logic ahead of it that adjust the roles or team of the PBO before it sends it to the task but I have avoided the complexity you show in that first image. It is just a single task with multiple people on it.
@avillanueva is correct. So are you @smcvr .
Use a team role and populate the role with the appropriate principals using logic.
I see in your first image there’s a conditional that has 15 routing options.
Is this simply a matter of using the logic in that conditional to determine which principals should be in which role(s)?
If yes, you’re pretty much there.
I’d replace the conditional with an expression robot and use the logic to populate the team role rather than determine a routing option.
Whats the code in the conditional look like?