Hi pavila,
Thanks for the code - will try it and get back to you.
Thanks for the code - will try it and get back to you.
org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: org.jBPM.taskmgmt.def.Swimlaneswimlane.addTask(task);
procInst.getTaskMgmtInstance().getTaskMgmtDefinition().addSwimlane(swimlane);
task.setSwimlane(swimlane);