Is there a way that a workflow initiator can himself select a user from the list of users to take action for his task?

I know of two options:

1)Assignees 
2)Assignees expression

Is there a way that a workflow initiator can himself select a user from the list of users to take action?

0 votes

1 answers

64 views

ANSWER



Hello,

This is what is done by the default Serial Workflow. To help you understand how to achieve it, you can import the “Default Nuxeo Platform Workflows Configuration” Studio external template (In Studio > Modeler > Configuration > External Template > Import the template).

In workflows, the task can be assigned to an explicit user (like user:jdoe ) or an assignee expression (like @{Document("dc:creator")} or a workflow global variable).

Regards

1 votes



Hello, Thanks for your reply. I know that we as a developer can asssign a task to to an explicit user (like user:jdoe ) or an assignee expression (like @{Document("dc:creator")} or a workflow global variable. But what I require is that the assignment task should be performed by workflow initiator not by us (Developer) beforehand.Workflow initator should be provided with the list of users in our system, from which he may select a user to assign task .
05/15/2020

That's what I'm explaining. The first task can be assigned to the workflow initiator asking him in the task to assign the workflow to somebody, using a nuxeo-user-suggestion element bound to a property of type User/Group.
05/15/2020

Thank you for your time. It was a great help :)
05/15/2020