Package org.kuali.rice.kew.api.rule

Examples of org.kuali.rice.kew.api.rule.Rule


  private org.kuali.rice.kew.api.rule.RuleService getRuleSvc() {
    return KewApiServiceLocator.getRuleService();
  }
  @Test
  public void testDefaultApprovalRule() {
    Rule rule = getRuleSvc().getRuleByName("org.martinlaw.rules.default.approval");
    assertEquals("default routing rule for maintenance docs", rule.getDescription());
    assertEquals("org.martinlaw.defaultApprovalTemplate",rule.getRuleTemplate().getName());
  }
View Full Code Here


    assertEquals("org.martinlaw.defaultApprovalTemplate",rule.getRuleTemplate().getName());
  }
 
  @Test
  public void testInitiatorFyiRule() {
    Rule rule = getRuleSvc().getRuleByName("org.martinlaw.rules.default.initiatorFyi");
    assertEquals("FYI notification to the initiator notifying them their edoc has been processed", rule.getDescription());
  }
View Full Code Here

TOP

Related Classes of org.kuali.rice.kew.api.rule.Rule

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.