Home PEGA TutorialsPEGA Introduction Rule Availability In PEGA | PEGA Tutorials

Rule Availability In PEGA | PEGA Tutorials

by Narendra Anja
0 comment
What is Rule Availability?

Rule Availability helps in managing rules. They can determine whether the rule is available for processing or not.

Why Rule Availability

There are many situations to use rule availability, let us consider an example for any application that you are developing may consists of different rules like Activities, Flows, When Rules, etc. if you don’t want to use a particular rule, then you can make that particular rule as not available for your application.

Types of Rule Availability in PEGA 

There are 5 different types of Rule Availability’s defined in PEGA as follows. Let us discuss in detail about all types in this post.

  1. Available
  2. Not Available
  3. Withdrawn
  4. Blocked
  5. Final


As a name indicates, any with this option is always available to run.PRPC picks the highest version rule from the current class and you can save as rule from one ruleset to another ruleset.

 2.Not Available 

By using this option we can make any rule not available for a particular version, takes the rule from the next highest previous versions.


Let us consider that we have 2 rules here as 01-01-01 and 01-01-02, as by default page picks the highest version to run always, now for our scenario it runs 01-01-02 version, any rule in 01-01-01 makes as not available, will run on 01-01-02 version.


When the rule availability is withdrawn proc ignores the processing of all versions the rule in that class and proceeds in the class hierarchy and processes them from the parent class. or When we select any rule availability as withdrawn, the rule is going to skip the rule resolution, which, means the rule resolution will not consider the withdrawn rule and its lower versions.


Let us consider a sample activity TechNaandi is present in the 01-01-01 version and you have updated the same activity in the 01-01-02 version, and you have withdrawn the activity on 01-01-02 version. While you are running your application, this activity will not be considered for 01-01-01 and 01-01-02 versions.


PRPC stops processing the blocked rule and throws an error message.


Lets us consider an example, that any bank needs to stop the transactions for a particular country for a particular period of time. In such a scenario we can block the respective rules, then when any user tries to use it’s just throw an error to the user.


It is available for processing PRPC picks the highest version rule from current class but we cant save as the rule from one ruleset to another ruleset. 

Thanks for your support we will provide more tricks & tips for you. If you like our tricks, share these with your friends and join my Telegram Channel for more new tricks & tips.

You may also like

Tech Naandi Solutions

Welcome to Tech Naandi Solutions,  my website is designed in such a way that one source for all Technologies. I am dedicated to giving you the very best concepts, with a focus on All types of latest available technologies.

Laest News

@2021 – All Right Reserved. Designed and Developed by Narendra Anja

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
error: Content is protected by Narendra
How can i help you ?
Update Required Flash plugin