Package org.jbpm.api

Examples of org.jbpm.api.NodeInstance.trigger()


    public void start() {
        // We should check that the first node inside the process.nodes is a startEventNode
        NodeInstance startEventNode = NodeInstanceFactory.newNodeInstance(this, process.getNodes().get(0L));
        this.nodeContainer.addNodeInstance(startEventNode);
        this.status = STATUS.ACTIVE;
        startEventNode.trigger(null, null);
     
    }

    @Override
    public void setProcessDefinition(ProcessDefinition process) {
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.