Package com.founder.fix.fixflow.core

Examples of com.founder.fix.fixflow.core.HistoryService


    String userId = StringUtil.getString(params.get("userId"));
    String processInstanceId = StringUtil.getString(params.get("operProcessInstanceId"));
    String[] pids = processInstanceId.split(",");
    ProcessEngine engine = getTransactionProcessEngine(userId);
    try{
      HistoryService historyService = engine.getHistoryService();
      List<String> processInstanceIds = new ArrayList<String>();
      for(String tmp:pids){
        processInstanceIds.add(tmp);
      }
      historyService.archiveByProcessInstanceIds(processInstanceIds);
    }finally{
      closeProcessEngine();
    }
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.HistoryService

Copyright © 2018 www.massapicom. 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.