Skip to main content
23-Emerald IV
June 5, 2019
Question

Can a workflow robot assign a participant to a subsequent task?

  • June 5, 2019
  • 1 reply
  • 3960 views

Curious if a workflow robot (or transition) could use some custom code to automatically assign a participant to a particular task.  I'd like to decide who to assign a task to (based on some other criteria generated during workflow execution) without anyone having to select this user in advance.  Is this possible?  If so, are there any code snippets out there that might help show how to do this?  Thanks.

1 reply

6-Contributor
August 10, 2021

Hi TomU,

 

Did you ever find a solution to this problem? I have a similar requirement for my workflow.

 

Thanks.

18-Opal
August 10, 2021

This is very doable.

Can you give the big picture/use case?

David

1-Visitor
August 12, 2021
  1. Define a properties file, which will be similar as below

    China=Group1

    Mexico=Group2

  2. Create group1 & group2, and add users into them.
  3. Add code to get the group based on the property defined in #1, and then add users within the group into the role you from the team.

For your reference, that's what I did similar in our system.