Skip to main content
Jun 5, 2019 5:37 PM UTC
Question

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

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.

8 replies

Aug 10, 2021 8:57 PM UTC

Hi TomU,

 

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

 

Thanks.

Aug 10, 2021 11:16 PM UTC

This is very doable.

Can you give the big picture/use case?

David

TomUAuthor
Aug 11, 2021 1:10 PM UTC

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.