Package org.jbpm.process.instance.impl

Examples of org.jbpm.process.instance.impl.AssignmentAction.execute()


    private void handleAssignment(Assignment assignment) {
      AssignmentAction action = (AssignmentAction) assignment.getMetaData("Action");
    try {
        ProcessContext context = new ProcessContext(getProcessInstance().getKnowledgeRuntime());
        context.setNodeInstance(this);
          action.execute(getWorkItem(), context);       
    } catch (Exception e) {
        throw new RuntimeException("unable to execute Assignment", e);
    }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.