Field: Total hours for each type of time tracked (work, vacation, sick)
Method: Calculation
Field: Cumulative total of all hours for the week
Method: Calculation
Field: Updated vacation and sick time balances
Method: Data transform
Total hours for each type of time tracked (work, vacation, sick)
Method: Calculation
The total hours for each type of time (work, vacation, sick) are derived by summing up the
respective hours entered by the employee for each day. This involves simple arithmetic operations
which are best handled by a calculation rule in Pega.
Reference: Pega Platform Business Architect Essentials, Chapter on Calculations and Decision Rules.
Cumulative total of all hours for the week
Method: Calculation
The cumulative total of all hours for the week is computed by summing up the total hours of work,
vacation, and sick time. This is another straightforward arithmetic operation that should be
implemented using a calculation rule.
Reference: Pega Platform Business Architect Essentials, Chapter on Calculations and Decision Rules.
Updated vacation and sick time balances
Method: Data transform
When the employee submits the timesheet, the application needs to update the vacation and sick
time balances by subtracting the entered hours from the available balances. This involves data
manipulation which is appropriately handled using a data transform. Data transforms in Pega are
used to copy and manipulate data.
Reference: Pega Platform Business Architect Essentials, Chapter on Data Transforms and Activities.