Rule Defination
Rule Execution
  • Rule engine is a no code solution to apply and enforce certain business logic on server side .
  • Rule engine allows user to define Boolean or Scalar expressions (rules) with C# syntax that contain item properties, user properties, and user identities .
  • Rules can be defined for a specific ItemType using AppStudio template that contains RuleBuilder UI component .
  • Defined rules can be associated with various server events .
  • Rule can be of the following type

    • Check – To perform any kind of validations before any action {create/edit/delete/revision/promote/relationship(add/delete)}
    • Pre Update – To evaluate the rule expression and update the context item with the result of rule expression.
    • Post Update – To update the properties of the context item with the result of rule execution.
  • Rules will be evaluated at runtime while performing some operation in the context of the current item and user .
  • Rules defined for a specific ItemType can be combined into RuleSet .