Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Pegasystems Exam PEGACPSA23V1 Topic 7 Question 11 Discussion

Actual exam question for Pegasystems's PEGACPSA23V1 exam
Question #: 11
Topic #: 7
[All PEGACPSA23V1 Questions]

You create an application for employees to submit timesheets. Employees enter work, vacation, and sick time for a particular week. On the entry form, employees see a summary of the total hours entered. After the employee submits the timesheet, the application displays remaining vacation and sick time for the employee. To configure the form where users enter hours, select the best configuration option to calculate the total hours for the week.

Show Suggested Answer Hide Answer
Suggested Answer: B

To automatically calculate the total hours worked, including vacation and sick time, on a timesheet entry form:

B . Use declarative processing. When the value of any work, vacation, or sick time changes, the total hours change. Declarative processing in Pega is ideal for this situation as it allows the total hours to automatically update whenever the constituent values change. This approach ensures real-time accuracy and reduces the need for manual recalculations or procedural coding.


Contribute your Thoughts:

Agustin
15 days ago
I'm feeling lucky with Option D. A nice, clean data transform to handle the totals? Sign me up! Plus, it's probably the most future-proof solution.
upvoted 0 times
...
Brittni
23 days ago
Haha, this question is a real time-saver! I'm going with Option A - Who needs to wait for the user to submit the form when you can just do the math in real-time? Live on the edge, I say!
upvoted 0 times
Nida
5 days ago
I agree, Option A sounds like the most efficient choice.
upvoted 0 times
...
...
Marjory
24 days ago
I prefer option B because declarative processing is more efficient for this type of calculation.
upvoted 0 times
...
Hyman
25 days ago
I disagree, I believe option D is better as it calculates the total hours when the form is entered.
upvoted 0 times
...
Micheal
1 months ago
I think option A is the best choice because it updates the total hours in real-time.
upvoted 0 times
...
Stefanie
1 months ago
Option C is the winner here. Doing the calculations when the form is submitted makes the most sense to me. No need to waste resources on constant re-calculations.
upvoted 0 times
...
Desiree
1 months ago
I think Option B is the way to go. Declarative processing is the future, and it's more efficient than always having to check for changes.
upvoted 0 times
Willow
13 days ago
I think using a data transform might be more accurate in calculating the total hours.
upvoted 0 times
...
Alease
27 days ago
I agree, declarative processing is definitely the way to go. It simplifies the process.
upvoted 0 times
...
...
Annice
1 months ago
Option D seems the most straightforward. Why do all the calculations every time a field changes when you can just do it once when the user submits the form?
upvoted 0 times
Katina
21 days ago
That's a good point. Real-time updates could be helpful for users to catch any mistakes before submitting the timesheet.
upvoted 0 times
...
Erick
22 days ago
But what if the user wants to see the total hours before submitting the form? Wouldn't it be better to update in real-time with options A or B?
upvoted 0 times
...
Ariel
1 months ago
I agree, option D seems more efficient. Doing the calculations only once when the user submits the form makes sense.
upvoted 0 times
...
...

Save Cancel