Action indicates some additional operations to be performed in the current state, such as logging log, email, etc. (1) SwiMline's Delegation is to identify the identity of the current actor. Package kellerdu.jbpm.delegation;
Import org.jbpm.delegation. *; import kellerdu.jbpm.logsfactory; import org.apache.commons.logging.log;
Public Class Bossswimlane Implements AssignmentHandler {Public Bossswimlane () {}
/ ** * Which actor is in the current state to be dealt with, and the selection is the Actor of the boss. * * If Wang Lin is a boss, then he invites him to start a review process, when he checks that he needs to be proven *, use actorid = boss to find all the instructions. Time constant value is a "boss" * * * @param assignmentContext AssignmentContext * @return String * @todo Implement this org.jbpm.delegation.AssignmentHandler method * / public String selectActor (AssignmentContext assignmentContext) {Log log = LogsFactory selectActor returned .getloginstance (this.getclass ()); log.info ("Task Assignment to Board"); return "boss";}} ====================== =================== Ackage kellerdu.jbpm.delegation;
Import org.jbpm.delegation. *; import kellerdu.jbpm.logsfactory; import org.apache.commons.logging.log;
Public Class Chiefswimlane Implements AssignmentHandler {Public Chiefswimlane () {}