Package eu.planets_project.ifr.core.wee.api.workflow

Examples of eu.planets_project.ifr.core.wee.api.workflow.WorkflowInstance.execute()


        //EXECUTES THE WF INSTANCE
      List<DigitalObject> payload = wf.getData();
      int count = 1;
      for(DigitalObject digo : payload){
        //process the payload item by item - workflowResult appends individual log items
        ret = wf.execute(digo);
        count+=1;
        int progress = (100/payload.size())*count;
        weeManager.notify(uuid, ret, WorkflowExecutionStatus.RUNNING, progress);
      }
      ret = wf.finalizeExecution();
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.