Exam PEGAPCSSA87V1 All QuestionsBrowse all questions from this exam
Question 71

The ruleset list for an application consists of the following rulesets, ordered from highest to lowest:

• SelfService:01-0l

• TGB-HR:01-01

• TGB:01-01

A rule with an Apply to: class of TGB-HR-SelfService-Work-TimeOff references a rule named ConfirmationRequest. The four instances of ConfirmationRequest in the rules cache are shown in the following table.

Which is chosen during rule resolution?

    Correct Answer: D

    The chosen rule during rule resolution is TGB-HR-SelfService-Work .ConfirmationRequest (SelfService:01-01-01). Rule resolution considers both the class of the rule and the version of the ruleset. In this case, between these options: TGB-HR-SelfService-Work-TimeOff and TGB-HR-SelfService-Work, the rules with class TGB-HR-SelfService-Work-TimeOff would typically be preferred because they are more specific. However, the version SelfService:01-01-02 of this rule is marked as Withdrawn, meaning it is not considered available during rule resolution. Hence, the next appropriate rule that is available and the most specific would be TGB-HR-SelfService-Work .ConfirmationRequest (SelfService:01-01-01) which is option D.

Discussion
jhtanOption: D

D is correct answer.

PalazzoOption: B

The correct answer is B. TGB-HR-SelfService-Work-TimeOff .ConfirmationRequest (SelfService:01-01-02) Withdrawn rules are included during rule resolution. The rule ConfirmationRequest is referenced in the context of class TGB-HR-SelfService-Work-TimeOff and it is in the ruleset SelfService that is in the top of the ruleset stack, the Withdrawn version is used.

mozzey

I think you're half correct, the first part of the rule resolution process will select TGB-HR-SelfService-Work-TimeOff .ConfirmationRequest as it is in the highest RS version, however the rule resolution process includes rule availability, so the withdrawn version (and other versions of the same class) will be discarded from the RR process, leaving option D, as it will be the next highest ranked with no availability qualifier