How to get all the users list in Kaleo Workflow on Assign to Combo box?

心不动则不痛 提交于 2019-12-08 01:30:16

问题


I am working in Liferay Portal. I have created my custom work flow and created the portlet to start the work flow. I am done successfully with this but I am facing one problem, when the user clicks on Assign to button from Workflow Tasks to assign the task to some other user the combo box which display available users, it only display the users who has the Administrator or Owner Roles.

As i have developed custom work flow in which i have defined my own roles, i wish to display the users with that roles in the combo box. I have searched a lot but not able to get the proper solution for this.

If anyone has any idea please kindly help.


回答1:


For this you have to create a hook and you have to write the code in file named "workflow_task_action.jsp" within Workflow_task.....

In this file code for that combobox which you require is available.



来源:https://stackoverflow.com/questions/9764640/how-to-get-all-the-users-list-in-kaleo-workflow-on-assign-to-combo-box

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!