Examples of moveToArchive()


Examples of com.catify.processengine.core.data.model.entities.FlowNodeInstance.moveToArchive()

    for (Map<String, Object> map : result) {
      FlowNodeInstance flowNodeInstance = neo4jTemplate.convert(map.get("flownodeinstance"), FlowNodeInstance.class);
      String flowNodeId = (String) map.get("flownode.uniqueFlowNodeId");
     
      FlowNode archivedFlowNode = flowNodeRepositoryService.findArchivedByRunningUniqueFlowNodeId(flowNodeId);
      flowNodeInstance.moveToArchive(archivedFlowNode, processInstanceId);
    }
   
    // save the process instance node to the archived process node
    ProcessNode archivedProcessNode = processRepositoryService.findArchivedByRunningUniqueProcessId(uniqueProcessId);
    ProcessInstanceNode processInstanceNode = loadProcessInstanceNode(uniqueProcessId, processInstanceId);
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.