Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Setting rule status and availability

Updated on April 5, 2022

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.

  1. Open a rule by searching for it or by using the Application Explorer.
  2. In the header of the form, next to the short description, click the rule status or availability label.
  3. 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.

    Available
    The rule is considered during rule resolution.
    Not available
    The rule is excluded from rule resolution, and validation logic is disabled so that you can continue to edit the rule even if there are errors.
    Blocked
    The rule is considered during rule resolution but stops processing and returns an error to the user if it is selected.
    Final
    The rule is considered during rule resolution but users cannot extend the rule by copying it to a different ruleset, unless the ruleset is a higher version of the current ruleset.
    Withdrawn
    The rule and all instances with the same name, in previous versions of the same major-version ruleset, are excluded from rule resolution.
  4. In the Status list, select an option to indicate how users interact with the rule.
    API
    Users provide standard input parameters to this rule and receive standard return values or results.
    Deprecated
    Users are discouraged from using this rule, because it is no longer supported.
    Extension
    Users can override the rule to provide custom functionality.
    Template
    Users can select this rule as a starting point to save time when they create a rule.
  5. Click OK.
  6. Click Save.
  • Troubleshooting final rules

    After a rule is marked as final, no one can create a second rule with the same visible key in any ruleset other than the ruleset that the first rule belongs to. If the ruleset version of a final rule is locked, you cannot create a second rule with the same visible key in any version of any ruleset, except a higher version of the ruleset containing the final rule.

  • Troubleshooting blocked rules

    Rule resolution processing is halted (with no rule found) when it encounters blocked rules. The rule form colors change from greens to grays for blocked rules.

  • Extension points

    An extension point is an activity or other rule that is designed and intended to be overridden to meet application needs. Many such rules are empty stubs that contain no steps. Typically, the overriding rule is in a derived class.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us