Adding Custom Rules

  1. Select Maintenance > Schedule Compliance > Schedule Compliance Rules.
  2. Click Create New Entry.
  3. Specify this information:
    Rule Name
    Enter a name for the rule.
    Rule Description
    Enter a short description for the rule.
    Rule Class

    Enter the class path provided by the custom rule developer.

    We recommend that you package and name any custom rules or filters in a manner that easily distinguishes the custom rules and filters from the core rules and filters in the catalog. For example, you could package each custom rule or filter using the customer package names, such as "com.customer.rule.NewRuleName".

  4. Click Continue. The Violation Message, and Parameter fields are displayed.
    Violation Message

    Enter the violation message that appears when this rule is violated.

    Some fields will be automatically populated by the system. This depends on the type of rule. For example, the employee name may be represented by {0}, the first parameter may be represented by {1} and the date may be represented by {2}. The custom rule developer will have details on automatically populated message components.

    Parameter (1,2,3,4)

    Name and specify each rule parameter as necessary. Again, the custom rule developer will have details on the rule parameters.

    The number and type of parameters that appear depends on the rule.

  5. Click Save.
    The custom rule has been added to the catalog and is available for use in schedule compliance groups.