How to get a list of all users in the Kaleo Workflow field in the Assign to Combo field?

I work at Liferay Portal. I created my own workflow and created a portlet to start the workflow. I successfully dealt with this, but you have one problem when the user clicks the Assign to button from the Tasks of the workflow to assign a task to another user, the combo box that displays available users, it displays only those users who have an Administrator or Roles of the owner .

As I developed my own workflow in which I defined my own roles, I want to show users with these roles in the combo box. I searched a lot, but could not find the right solution for this.

If anyone has any ideas, please kindly help.

+2
source share
1 answer

To do this, you need to create a hook, and you must write the code in a file called "workflow_task_action.jsp" in Workflow_task .....

The code for this list that you need is available in this file.

+2
source

All Articles