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.
- Open a rule by searching for it or by using the Application Explorer.
- In the header of the form, next to the short description, click the rule status or availability label.
- 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.
- 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.
- The rule is considered during rule resolution but stops processing and returns an error to the user if it is selected.
- 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.
- The rule and all instances with the same name, in previous versions of the same major-version ruleset, are excluded from rule resolution.
- In the Status list, select an option to indicate how users
interact with the rule.
- Users provide standard input parameters to this rule and receive standard return values or results.
- Users are discouraged from using this rule, because it is no longer supported.
- Users can override the rule to provide custom functionality.
- Users can select this rule as a starting point to save time when they create a rule.
- Click OK.
- 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.