如何在“分配给组合"框中的Kaleo工作流中获取所有用户列表? [英] How to get all the users list in Kaleo Workflow on Assign to Combo box?

查看:72
本文介绍了如何在“分配给组合"框中的Kaleo工作流中获取所有用户列表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Liferay Portal中工作.我已经创建了定制工作流程并创建了Portlet以启动工作流程.我已成功完成此操作,但是当用户单击工作流程任务中的分配给按钮将任务分配给其他用户的组合框时,我遇到了一个问题显示可用用户,它仅显示具有管理员或所有者角色的用户.

由于我已经开发了自定义工作流程,在其中定义了自己的角色,因此我希望在组合框中显示具有该角色的用户.我进行了很多搜索,但无法找到合适的解决方案.

如果有人有任何想法,请提供帮助.

解决方案

为此,您必须创建一个钩子,并且必须在Workflow_task ...... p中的"workflow_task_action.jsp"文件中编写代码. >

在此文件中,您所需的组合框的代码可用.

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.

解决方案

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.

这篇关于如何在“分配给组合"框中的Kaleo工作流中获取所有用户列表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆