08-09-2010 12:27 PM
08-09-2010 12:46 PM
public void executeAction(ExecutionContext ctx) throws Exception {
JBPMNode jbpmNode = (JBPMNode) ctx.getVariable("bpm_package");
NodeRef packageNodeRef = jbpmNode.getNodeRef();
NodeRef propNode = this.getHotelMasterRepositoryService().findNode("1");
Map<QName, Serializable> workflowProps = new HashMap<QName, Serializable>();
workflowProps.put(WorkflowModel.ASSOC_PACKAGE, propNode);
workflowProps.put(WorkflowModel.ASSOC_ASSIGNEE, getServiceRegistry().getPersonService().getPerson("admin"));
WorkflowPath wfPath = workflowService.startWorkflow(wfid, workflowProps);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.