Create a Time Entry Rule Template

Validate time card entries and generate a message with a defined severity.

  1. Go to Setup and Maintenance > Workforce Deployment > Time and Labor > Time Rule Templates.
  2. Create a time entry rule template to, for example, make sure workers work the minimum required hours.
  3. Complete the required and relevant optional basic information.
    1. Review the default summation and reporting levels and change as appropriate.
      Level Summation Reporting
      Details Applies the rule to all time entries that match the time category conditions. For example, select this option when workers should report worked time in specified increments, such as 15-minute, 30-minute, or hourly increments. Display rule results for all time entries that match the time category conditions. For example, show the message for each time entry that violates the rule.
      Day Applies the rule to all the hours for the entire day that match the time category conditions. For example, select this option when workers are eligible for overtime after working 8 hours in a day. Display rule results for all the hours for the entire day that match the time category conditions. For example, show the message for each day that time entries violate the rule.
      Time Card Applies the rule to all the hours for the entire period that match the time category conditions. For example, select this option when workers are eligible for overtime after working 40 hours in a week. Display rule results for all the hours for the entire period that match the time category conditions. For example, show the message only once for the time card period, when a time entry violates the rule.
    2. Review the default suppress duplicate messages display value and change as appropriate.

      For example, a rule shows a warning message when a 16-year-old worker reports more than 20 worked hours for a week. When they save, submit, and resubmit their time cards, the rule triggers. During the winter break a worker reports working 8 hours per day for 5 days, and saves their time card each day. Here's how often messages would appear according to the reporting level and whether you suppress duplicate messages.

      Reporting Level Suppress Duplicate Messages Display Message Display Frequency
      Time Card Either Yes or No Once
      Day No 3 successive days after reported time exceeds the 20-hour maximum
      Day Yes Once, on the third day when the reported time for the week exceeds the 20-hour maximum
    3. Review the default process empty time card value and change as appropriate. If you select Yes, the rule applies to all entries regardless of whether they have any quantities, such as hours or units.
    4. Optionally specify the default time card actions that should trigger rules created with this template. People can deselect any defaults when they create rules.
  4. Configure the formula parameters.
    • Optionally provide a more meaningful display name for people using the template to create rules.
    • Optionally reorder the display sequence. The lower the number, the earlier the parameter appears in the list.
  5. Configure the formula outputs.
    • Optionally provide a more meaningful display name for people using the template to create rules.
    • Optionally reorder the display sequence. The lower the number, the earlier the output appears in the list.
  6. Explain the business purpose of the rule template and any rules create with the template.

    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 tokens in the rule explanation text. The Message Tokens list values are the parameter and output display names.

    Here are some best practices to keep in mind when you write text that includes tokens:

    • Include abbreviations in tokens that are easy to recognize.
    • Qualify tokenized text by inserting a word or phrase just before or after the token that describes what the token is.
    • Ensure that the qualifier text and the token name make sense together, as shown here.
      Example of Incorrect Pairing Examples of Correct Pairings
      The time card was approved by the approver {STATUS}.

      {APPROVER_NAME} approved the time card.

      The invoice was approved and now has a {STATUS} status.

    • Read your explanation text without the token to check if the explanation makes sense.
    • Use tokens for numbers carefully. Qualify tokens for numbers that are objects, such as number of hours or time type. If a token represents an amount that could be singular or plural, the text needs to support both scenarios.
  7. Review your configuration.
  8. Save your changes and close the template.