VISUAL BASIC

INTRODUCTION TO NET

APPLICATION DEVELOPMENT

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: -An availability of Blocked indicates the rule may be used during the rule resolution process. Rules marked as Blocked can be viewed, copied, or edited in Dev Studio, but do not execute. If a blocked rule is selected during rule resolution, execution is halted, and an error message is added to the log file.

Detailed explanation-2: -Differences between blocked and withdrawn rules However, a blocked rule can 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: -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-4: -The rule resolution algorithm inherits input from the rule cache to identify a rule instance. The rule resolution algorithm populates the rules cache with appropriate rule instances. The rule resolution algorithm removes rule instances from the rule cache when a rule instance is updated.

Detailed explanation-5: -Which rule availability setting can you use to force the system to look for an instance of the rule in the next highest class or ruleset? DS: When a rule marked as Withdrawn is found during rule resolution, the system looks for an instance of the rule in the next highest class or ruleset.

There is 1 question to complete.