Example of Payroll Time Approval Rules Using Time Entry Source

You want to automatically approved time cards where all entries come from a time collection device. And you want two levels of managers to review and approve any time cards with entries that don't come from time collection devices.

  1. For the delivered TimecardApproval workflow task, TimeEntryApprovalRuleSet, click the Assignees tab.
  2. Create the rule to automatically approve time cards with entries from only time collection devices.
    1. Create this IF expression:
      ApprovalTimeRecordGroup.attributeChar18 is "ORA_HWM_TIME_COLLECTION_DEVICE"
    2. Complete the THEN fields, as shown in this table.

      THEN Field Value
      List Builder Supervisory
      Response Type Required
      Number of levels 1
      Starting Participant
      HierarchyBuilder.getManager("supervisory",
      Task.payload.process.Requester,-1,null,null)
      Top Participant
      HierarchyBuilder.getManager("supervisory",
      Task.payload.process.Requester,-1,null,null)
      Auto Action Enabled True
      Auto Action "APPROVE"
      Rule Name AutoApproveTCD
  3. Create the rule to manually approve time cards with entries that don't come from time collection devices.
    1. Create this IF expression:
      ApprovalTimeRecordGroup.attributeChar18 isn't "ORA_HWM_TIME_COLLECTION_DEVICE"
    2. Complete the THEN fields, as shown in this table.

      THEN Field Value
      List Builder Supervisory
      Response Type Required
      Number of levels 2
      Starting Participant
      HierarchyBuilder.getManager("supervisory",
      Task.payload.process.Requester,-1,null,null)
      Top Participant
      HierarchyBuilder.getManager("supervisory",
      Task.payload.process.Requester,-1,null,null)
      Auto Action Enabled False
      Auto Action null
      Rule Name ManApproveNonTCD