Setting rule status and availability
Set rule status and availability to elaborate on the usage information that you provide, and ensure that users interact with the correct version of your rule at run time.
- In the navigation pane of Dev Studio, click Records.
-
Expand the category that stores your rule, and then select a subcategory.
For example: Click Process > Service Level Agreement
-
In the header of the form, next to the short description, click the rule availability
label.
Pega Platform displays rule availability in brackets.
-
In the Availability list, select an option to control how your
application selects the rule during rule resolution:
You cannot change the availability of some rule types, such as classes and rulesets, which are always available to users.
- To consider rule in rule resolution, select Available.
- To exclude the rule from rule resolution, and disable validation logic so that you can continue to edit the rule even if there are errors, select Not available.
- To consider the rule during rule resolution but to stop processing and return an error to the user when the user selects the rule, select Blocked.
- To consider the rule during rule resolution but to prevent users from extending the rule by copying it to a different ruleset, unless the ruleset is a higher version of the current ruleset, select Final.
- To exclude the rule and all instances with the same name, in previous versions of the same major-version ruleset, from rule resolution, select Withdrawn.
-
In the Status list, select an option to indicate how users
interact with the rule:
- To enable users to provide standard input parameters to this rule and receive standard return values or results, select API.
- To communicate that Pega Platform no longer supports the rule, select Deprecated.
- To enable users to override the rule to provide custom functionality, select Extension.
- To enable users to select this rule as a starting point to save time when they create a rule, select Template.
- Click OK.
- Click Save.