📄️ Execute Decision
The Execute Decision action allows decisions to be executed by passing input values and assigning output values.
📄️ Rule Constructs
Rules can be constructed using the following rule components:
📄️ If/Then Rule
An If/Then Rule is a condition whose expression, when evaluated to true (meaning the condition is satisfied), executes an associated set of actions and other rules.
📄️ If/Then/Else Rule
An If/Then/Else Rule is a rule that has multiple if conditions and an otherwise condition. The difference between this rule construct and an if-then is that you can add multiple conditions between the then and the else providing for a number of conditions that can be evaluated before "defaulting" to the else/otherwise condition. This is similar to the select-case construct found in programming languages. Each condition is equivalent to an If/Then Rule.
📄️ For Each Rule
A For Each Rule allows you to execute one or more child rules against each member of a collection. If desired, a filter may be used to select which members are affected.
📄️ While Rule
While Rule is a condition whose expression, when evaluated to true (meaning the condition is satisfied), executes an associated set of actions and other rules, and repeats this as long as the condition is true.
📄️ Actions
Generally, actions are the tasks the engine executes if the conditions of a rule evaluate to TRUE. Rules can also contain only actions if required.
📄️ Value Comparison
Value Comparison in InRule
📄️ Looping Through a Collection
Any time you loop through or iterate a collection of any type, there are some restrictions to consider. Inside the loop, you may change an individual member, but you may not change the collection itself.
📄️ Decision Table
Decision Tables are a powerful technique to represent a set of related business rules in the form of a multi-dimensional matrix. They are exceptionally useful in modeling and maintaining complex business situations in a simple manner.
📄️ Language Rule
InRule's business language authoring offers a highly intuitive medium to author rules using English- like syntax and point-and-click authoring. These simple-to-use features further extend InRule's unique ability to efficiently manage sophisticated rules and complex calculations.