- How do I implement time validations, calculations, and processing with Time and Labor?
- Configure Payroll Time Approval Rules to Use Payroll Values
Configure Payroll Time Approval Rules to Use Payroll Values
This example has line managers reviewing and approving any time cards with overtime hours. And it automatically approves any time cards with only regular hours.
- Go to Setup and Maintenance > Tasks panel Search > Manage Task Configurations for Human Capital Management.
- For the TimecardApproval workflow task, TimeEntryApprovalRuleSet, click the Assignees tab.
-
Create the rule to manually approve overtime.
-
Create this IF expression:
ApprovalTimeRecordGroup.measure more than 0 and ( ApprovalTimeRecordGroup.attributeChar5 is "Overtime" )
-
Complete the THEN fields, as shown here.
THEN Field Value List Builder Supervisory Response Type Required
This response type makes the notification actionable, instead of informational.
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 False Auto Action null Rule Name ManApproveOT
-
Create this IF expression:
-
Create the rule to automatically approve time cards with only regular
hours.
-
Create this IF expression:
ApprovalTimeRecordGroup.attributeChar5 isn't "Overtime"
-
Complete the THEN fields, as shown here.
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 AutoApproveReg
-
Create this IF expression: