The contents of this article pertain to the current version of Author Studio released in the fall of 2023. If you have not updated to the newest version of the product, see our Archived Author Studio Documentation here.
In the Rule Sets workspace, there is a New Rule Set button. When you click on this button, you are presented with two options:
- Entity Rule Set
- Independent Rule Set
Independent Rule Sets are not available to be authored in Author Studio, but you can create them in irAuthor.
Entity Rule Set
- To add an Entity Rule Set, navigate to the Rule Sets page.
- Click on New Rule Set in the upper right corner of the workspace on the Rule Sets page and select Entity Rule Set from the drop-down.
- A prompt will ask you to select the context of the rule set.
- A new rule set is created and you will have the ability to modify the rule set properties in the properties panel window.
The title of the rule set is saved here.
The description of the rule set is saved here.
Fire Mode Settings
Rule sets are functionally significant because they establish when and how the underlying rules are executed. The Fire Mode allows you to select when the rule set will fire.
Decision Rule Sets always use explicit fire mode. Therefore, the Decision Rule Set properties panel will not show the fire mode settings.
If this toggle is set to on, it means you want the rule set to run during execution. If it is set to off, it will not run during execution.
4. Auto Sequential
Auto Sequential specifies that the rule set and its associated rules are always "on.” Unlike Auto Optimized rule sets, Auto Sequential rule sets execute in the order they appear in the list. These rule sets will fire any time a dependency for a top-level rule condition changes as the result of running a subsequent rule set.
4. Auto Optimized
The engine will automatically recalculate a condition within the rule set any time any of its dependent values change. These rule sets do not fire in the order they are authored—the engine decides the sequence based on a proprietary optimization algorithm. These rule sets will continue to fire until all of its conditions are satisfied. Only a limited set of actions are available in an optimized rule set.
5. Auto Single Pass
Auto Single Pass rule sets execute in the order they appear in the list, and execute only once, even if a dependency for a top-level rule condition changes during execution of a subsequent rule set.
An Explicit Rule Set will be executed only when explicitly instructed to do so by an action or calling application. An Explicit Rule Set is appropriate for procedural operations and will not get re-fired automatically by the engine.