/** * Description of the Method * * @param context Description of the Parameter * @return Description of the Return Value */ public boolean execute(ComponentContext context) { Call thisCall = (Call) context.getThisObject(); Call previousCall = (Call) context.getPreviousObject(); return ((thisCall.getOrgId() != -1 && thisCall.getContactId() == -1 && thisCall.getFollowupContactId() == -1) && (previousCall.getContactId() != -1 || previousCall.getFollowupContactId() != -1)); }
/** * Description of the Method * * @param context Description of the Parameter * @return Description of the Return Value */ public boolean execute(ComponentContext context) { Call thisCall = (Call) context.getThisObject(); return (thisCall.getStatusId() == Call.COMPLETE_FOLLOWUP_PENDING); }