WFM_TSR_SUBMIT_OR_SAVE_ON_NUMBER_OF_HOURS_AP Fast Formula

This fast formula is associated with the delivered rule template Number of Hours Submission Template. It compares the imported time device events that match the conditions of the specified time category with the minimum hours defined for the Submit action.

If the total hours are the minimum or more, it submits the time card. Otherwise, it compares the total hours with the minimum defined for the Save action. If the total hours are the defined minimum or more, it saves the time card. If neither condition is met, it sets the time card status to Entered. This template uses an array processing formula.

Parameters

Name Data Type Description
WORKED_TIME_CONDITION Time category Time category that identifies the reported time entries to use to determine whether to save or submit the time card.
MIN_HOURS_SUBMIT Fixed number Minimum total reported hours required to automatically submit the time card.
MIN_HOURS_SAVE Fixed number Minimum total reported hours required to automatically save the time card.

Output

Name Message Severity
OUT_MSG Time card action automatically started

Example

Your people typically work 8 Regular hours per day and 5 days per week, which is the time card period. You create a rule with this formula that automatically completes the appropriate action:

  1. If the total Regular hours are 40 hours or more, submit the time card.
  2. Else, if the total Regular hours are 8 hours or more, save the time card.
  3. Else, set the time card status to Entered.
Day Payroll Time Type Reported Time Output
1 thru 4 Regular

8a to 12p

1p to 5p

Save time card
5 Regular

8a to 12p

1p to 5p

Submit time card