private String createNodeInstanceId(NodeInstance nodeInstance) { String nodeInstanceId = "" + nodeInstance.getId(); NodeInstanceContainer nodeContainer = nodeInstance.getNodeInstanceContainer(); while (nodeContainer != null) { if (nodeContainer instanceof NodeInstance) { nodeInstance = (NodeInstance) nodeContainer; nodeInstanceId = nodeInstance.getId() + ":" + nodeInstanceId; nodeContainer = nodeInstance.getNodeInstanceContainer(); } else { break; } } return nodeInstanceId; }
for (int i = 0; i < nodeInstanceIds.length; i++) { for (NodeInstance subNodeInstance: container.getNodeInstances()) { if (subNodeInstance.getId() == new Long(nodeInstanceIds[i])) { if (i == nodeInstanceIds.length - 1) { context.setNodeInstance(subNodeInstance);
public String toString() { return "==>[ProcessNodeLeft(nodeId=" + nodeInstance.getNodeId() + "; id=" + nodeInstance.getId() + "; processName=" + getProcessInstance().getProcessName() + "; processId=" + getProcessInstance().getProcessId() + ")]"; } }
public String toString() { return "==>[ProcessNodeTriggered(nodeId=" + nodeInstance.getNodeId() + "; id=" + nodeInstance.getId() + "; processName=" + getProcessInstance().getProcessName() + "; processId=" + getProcessInstance().getProcessId() + ")]"; } }