Blog Viewer

Rules Details Controls

  

Entity

  • What it does: Displays the name of the entity the rule is based on.
  • How to use it: Select from the drop down.



Return Type

  • What it does: Displays the return type for the rule.
  • How to use it: Select from the drop down.



Status

  • What it does: Determines whether the rule is applicable in the application.
  • How to use it: Select from the drop down (Active or Inactive).



Description

  • What it does: Based on the return type and status, a description of what the rule does.
  • How to use it: Enter the text.

Static checkbox

  • What it does: If checked, the rule will be available to call from anywhere.
  • How to use it: Click to check or uncheck the checkbox.

Private checkbox

  • What it does: If checked, the rule is only accessible from the location it is declared.
  • How to use it: Click to check or uncheck the checkbox.



Trace checkbox

  • What it does: Determines whether the rule is traceable.
  • How to use it: Click to check or uncheck the checkbox.
  • Other Notes: Making a rule traceable means you can view the path and result every time the code executes that rule.

Cache Results checkbox

  • What it does: If checked, the application stores the result of the rule's execution in the cache. The next time it runs the rule, it retrieves the result from the cache rather than re-execute the rule.
  • How to use it: Click to check or uncheck the checkbox.
  • Other notes: This only displays if Static is checked.



Match All Conditions checkbox

  • What it does: If checked, this changes the way the application executes the rule. By default, if it finds a match in a row condition, it skips the rest of the rows and moves on to the next column condition. With Match All Conditions, the application continues to check every row even if it finds a match. This checks for overlapping data.
  • How to use it: Click to check or uncheck the checkbox.
  • Other notes: This option is available only for decision tables.



Throw Error checkbox

  • What it does: If checked, the application will display an error from the framework (not a configured error from an error table) every time the code executes the rule.
  • How to use it: Click to check or uncheck the checkbox.
  • Other Notes: This option is available only for decision tables.


This post is part of the Rules topic. Click here to open the Rules Overview.

0 comments
23 views

Permalink