Package org.uengine.kernel

Examples of org.uengine.kernel.HumanActivity.delegate()


     
      newPd.registerToProcessDefinition(false, false)
      changeProcessDefinition(instanceId, newPd);
     
      roleMapping.setName(newRoleName);
      humanActivity.delegate(instance, roleMapping, false);
     
      //add mail notification
      humanActivity.afterExecute(instance);
     
      return humanActivity.getTaskIds(instance);
View Full Code Here


      for(int i=0; i<runningActs.size(); i++){
        if(runningActs.get(i) instanceof HumanActivity){
          HumanActivity humanActivity = (HumanActivity)runningActs.get(i);
         
          if(humanActivity.getRole().getName().equals(roleMapping.getName()))
            humanActivity.delegate(instance, roleMapping);
        }
      }
    }catch(Exception e){
      throw new RemoteException("ProcessManagerError:"+e.getMessage(), e);
    }
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.