Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Liferay 7.0 workflow tasks to custom approvers ?
Hi Team,
I am working on liferay 7.0 kaleo workflow component, i have requirement to trigger task to custom approver.
I am storing custom approvars deatils in one of the custom feild as comma separated string of email Ids, i need a solution to trigger a task to this users.
As researched, liferay is restricting to assign tasks to multiple users in scripting assignments.
since kaleo workflow in liferay is role based or user based, either i
can assign to role or a single user, since my requirment is
restricting to create roles i am not able to assign to group of users.
Example:
Custom approvar : abc@liferay.com, xyz@liferay.com, pqr@liferay.com
Creating new task and want to assign same task to above listed
custom approver. Here the will be 1 but want to assign the single task
to all listed approvers.
Can any one guide me how i can achive this ?
Thanks
Hi,
One way is to create roles dynamically and in worklfow script assign the task to dynamic created roles , As in your case you can create role programically and map users to that role then in workflow script you can fetch that role and assign it .
Thanks Mohammed yasin,
Yes, It is possible with dummy role. I proposed that solution
but it will creates huge amount of dummy roles and we don't want
that.
Is there any other solution you have?
Powered by Liferay™