Exam PEGAPCSSA87V1 All QuestionsBrowse all questions from this exam
Question 19

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

• SelfService:01-01

• TGB-HR:01-01

• TGB:01-01

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

Which instance of EnterTimeOffDates is chosen during rule resolution?

    Correct Answer: A

    The chosen instance of EnterTimeOffDates during rule resolution is the one that is both available and with the highest applicable ruleset version that is not blocked or not available. In this case, the first consideration is whether the rule is 'Available'. 'Not Available' and 'Blocked' rules are not considered for rule execution. Therefore, the rule from TGB-HR-SelfService-Work-TimeOff with SelfService:01-01-02 is discarded because it is blocked. The rule from TGB-HR-SelfService-Work with SelfService:01-01-01 is discarded because it is not available. This leaves the options with availability: TGB-HR-SelfService-Work-TimeOff with SelfService:01-01-01 and TGB with TGB:01-01-02. Among these, the highest-priority ruleset is 'SelfService:01-01-01', making the instance 'TGB-HR-SelfService-Work-TimeOff .EnterTimeOffDates(SelfService:01-01-01)' the correct choice.

Discussion
tolits24Option: C

Correct Answer is C even the rule is blocked, the rule is part of rule resolution. The system error appeared when the rule are pick by rule resolution.

TheGodfather

Yes, It's amazing but you're right. The system will give us an error, but the resolution algorithm works trying to find the rule and shows the rule (and the error also) What a head ripper questions.

Palazzo

Correct: C Blocked is the selected rules and will raise an error and stop the process.

AkeelMam

https://academy.pega.com/topic/rule-resolution-process-and-rule-availability/v1

kmrkOption: D

Correct Answer is D, since A is Not Available and C is withdrawn, due to which B will not be considered, hence D is the only option