How You Configure Explanation Text in Time Rule Templates and Rules

You describe the business purpose of the time rule template and any rules created with the template on the Create Rule Template Explanation page.

You can include message tokens as placeholders for parameter and output values. When people create rules with the template, the specific values they set replace these message tokens in the rule explanation text.

By default, the values in the Message Tokens drop-down list are the parameter and output names from the linked formula. If you configure display names for the parameters and outputs in the rule template, then the drop-down list values are the display names.

Example

You create a time calculation rule template. It evaluates all reported time that meets the specified conditions. And, it identifies the appropriate Payroll Time Type attribute to store the calculated hours depending on a defined limit. You then use the template to create a rule that evaluates total reported time for all payroll time entries against a 40-hour threshold. It stores time below the threshold with the Regular time attribute. And it stores time over the threshold with Overtime.

Here's an example of how explanation text that includes tokens changes from the rule template to a rule created with the template.

  • Template: Compare the total reported hours in the {WORKED_TIME_CONDITION} time category to the threshold of {DEFINED_LIMIT} hours. Store the calculated hours below the threshold with the {OUT_PAY_TYPE_UNDER} pay attribute. Store any calculated hours over the threshold with {OUT_PAY_TYPE_OVER}.
  • Rule: Compare the total reported hours in the All Payroll Entries time category to the threshold of 40 hours. Store the calculated hours below the threshold with the Regular pay attribute. Store any calculated hours over the threshold with Overtime.