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

TomU23-Emerald IVAuthor
23-Emerald IV
August 11, 2021

Essentially automatic task routing based on the location of the user who created a promotion request.  If user's location attribute = "China" then assign upload task to user 'A', else if user's location attribute = "Mexico" then assign upload task to user 'B', etc.  Certain tasks are 'automatic' and happen behind the scenes and I don't want the PR creators to have to manually assign all these other participants when they will always be the same for everyone at the same location.