Jack G [https://community.jboss.org/people/super_man.sh] created the discussion
"How to back to previous node from current user task node" To view the discussion, visit: https://community.jboss.org/message/761025#761025 -------------------------------------------------------------- I'm using jBPM5.3 now. I use JPA to persist KnowledgeSession infomation.I use my custome WorkItemHandler to replace the default MinaHTWorkItemHandler or WSHumanTaskHandler for user task node.My custom WorkItemHandler code as below: public void executeWorkItem(WorkItem workItem, WorkItemManager manager) { DefaultTask task=new DefaultTask(); task.setNodeInstanceId(this.getNodeInstance(workItem).getId()); task.setWorkItemId(workItem.getId()); task.setName(workItem.getName()); task.setOwner((String)workItem.getParameter("ActorId")); task.setCmnt((String)workItem.getParameter("Comment")); task.setState(TaskState.created); task.setCreate(new Date()); task.setProcessInstanceId(workItem.getProcessInstanceId()); task.setSessionId(this.getSession().getId()); this.getNodeInstance(workItem); taskManager.addTask(task);//persistent task info to db } Now,I want to back to previous node from current user task node with programming type,non modeling type.Thanks. -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/761025#761025] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user