• Assign Task to Multiple Users

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #40280  by vsubramanian
 
Hi pavila,
I was able to solve the error:
Code: Select all
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.jBPM.taskmgmt.def.Swimlane
by adding the following lines for swimlane:
Code: Select all
swimlane.addTask(task);
procInst.getTaskMgmtInstance().getTaskMgmtDefinition().addSwimlane(swimlane);
task.setSwimlane(swimlane);
Thanks,
Vasu
 #40281  by vsubramanian
 
Hi pavila,
I was able to add a 'Dynamic Task Node'.
But:
1. The 'Task' is NOT getting assigned to any user
2. No 'Notification' is sent to any user

If I un-comment the following (line 106 in com.openkm.workflow.ActorAssigment() ), then the 'notification' is sent to 'all users', but the 'Task' is assigned ONLY to the last user.
assign.setActorId(reviewerName);

Please find attached the code.

Can you please let me know how to solve this issue?

Thanks in advance,
Vasu
Attachments
Process Archive
(15.86 KiB) Downloaded 215 times
Project - pls add OpenKM-classes.jar to the classpath
(537.21 KiB) Downloaded 250 times

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.