FUNDAMENTALS OF COMPUTER

SYSTEMS DEVELOPMENT ANALYSIS

APPLICATION DEVELOPMENT PROCESSES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
During rule resolution, what happens if a rule is marked as Blocked?
A
Execution halts and an error message is added to the log file
B
After an error message is presented to the user, execution continues
C
The rule is added to the rules cache
D
A message is sent to the user, the rule is added to the rules cache, and processing is paused pending further action from the user.
Explanation: 

Detailed explanation-1: -If a rule marked as Blocked is selected during rule resolution, an error message is logged and execution continues.

Detailed explanation-2: -Contrasting blocked and withdrawn rules However, a blocked rule may block other rules in any RuleSet, and a blocked rule stops rule resolution from finding rules in higher Applies To classes. A withdrawn rule affects other rules only in one RuleSet and one Applies To class.

Detailed explanation-3: -Inputs to the rule resolution algorithm User’s ruleset list. Class hierarchy of the rule in question. Circumstances such as the value of a property, or time and date restrictions. Availability of the rule.

Detailed explanation-4: -Rule caching A rule cache is an in-memory collection of recently used rules. Pega Platform maintains rule caches to improve application performance by avoiding unnecessary rule resolution and database interactions. When an application requests a rule, Pega Platform runs the rule if it is in the cache.

Detailed explanation-5: -A withdrawn rule is a rule that has the availability property pyRuleAvailable set to Withdrawn. A withdrawn rule is never selected by rule resolution. In addition, other rules that match this rule on the following fields are also hidden from rule resolution: Rule type.

There is 1 question to complete.