((org.jbpm.workflow.instance.NodeInstance) getNodeInstanceContainer().getNodeInstances().iterator().next()).cancel(); ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null); .nodeInstanceCompleted(this, null);
.nodeInstanceCompleted(this, type); if (!hidden) { ((InternalProcessRuntime) kruntime.getProcessRuntime())
.nodeInstanceCompleted(this, type); } else { ExclusiveGroupInstance groupInstance = new ExclusiveGroupInstance();
((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null);
@Override public void internalTrigger(NodeInstance from, String type) { SimulationContext context = SimulationContext.getContext(); ActivitySimulator simulator = context.getRegistry().getSimulator(getNode()); SimulationEvent event = simulator.simulate(this, context); context.getRepository().storeEvent(event); ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null); }
@Override public void internalTrigger(NodeInstance from, String type) { SimulationContext context = SimulationContext.getContext(); ActivitySimulator simulator = context.getRegistry().getSimulator(getNode()); SimulationEvent event = simulator.simulate(this, context); context.getRepository().storeEvent(event); // process event definitions if any Map<String, String> throwEvents = context.getCurrentPath().getThrowEvents(); String throwReference = throwEvents.get(getNode().getMetaData().get("UniqueId")); if (throwReference != null) { getProcessInstance().signalEvent(throwReference, null); } ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null); }
@Override public void internalTrigger(NodeInstance from, String type) { SimulationContext context = SimulationContext.getContext(); ActivitySimulator simulator = context.getRegistry().getSimulator(getNode()); SimulationEvent event = simulator.simulate(this, context); context.getRepository().storeEvent(event); // process event definitions if any Map<String, String> throwEvents = context.getCurrentPath().getThrowEvents(); String throwReference = throwEvents.get(getNode().getMetaData().get("UniqueId")); if (throwReference != null) { getProcessInstance().signalEvent(throwReference, null); } ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null); }
.nodeInstanceCompleted(this, type); if (!hidden) { ((InternalProcessRuntime) kruntime.getProcessRuntime())
((org.jbpm.workflow.instance.NodeInstance) getNodeInstanceContainer().getNodeInstances().iterator().next()).cancel(); ((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null); .nodeInstanceCompleted(this, null);
.nodeInstanceCompleted(this, type); } else { ExclusiveGroupInstance groupInstance = new ExclusiveGroupInstance();
((NodeInstanceContainer) getNodeInstanceContainer()).nodeInstanceCompleted(this, null);