Package org.jbpm.graph.exe

Examples of org.jbpm.graph.exe.ProcessInstance.signal()


      "  </task-node>" +
      "</process-definition>"
    );
   
    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlaneActorId");
    processInstance.signal();
   
    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here


      "  </task-node>" +
      "</process-definition>"
    );
   
    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePooledActor");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  </task-node>" +
      "</process-definition>"
    );
   
    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePooledActorThenTaskInstanceAssignment");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  </task-node>" +
      "</process-definition>"
    );
   
    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePooledActorThenTaskInstanceReassignment");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  </task-node>" +
      "</process-definition>"
    );
   
    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePooledActorThenSwimlaneInstanceAssignment");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  <end-state name='end' />" +
      "</process-definition>"
    );

    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlaneReassignment");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  <end-state name='end' />" +
      "</process-definition>"
    );

    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePooledActorsUpdate");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  <end-state name='end' />" +
      "</process-definition>"
    );

    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlaneActorReassignment");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  </task-node>" +
      "</process-definition>"
    );

    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePoolInitialization");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    TaskInstance changeNappy = (TaskInstance) taskMgmtInstance.getTaskInstances().iterator().next();
View Full Code Here

      "  <end-state name='end' />" +
      "</process-definition>"
    );

    ProcessInstance processInstance = jbpmContext.newProcessInstanceForUpdate("testSwimlanePoolReassignmentOfNonTakenTask");
    processInstance.signal();

    processInstance = saveAndReload(processInstance);

    TaskMgmtInstance taskMgmtInstance = processInstance.getTaskMgmtInstance();
    SwimlaneInstance swimlaneInstance = taskMgmtInstance.getSwimlaneInstance("hero");
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.