There are six declarative rules available:

  1. Declare Trigger
  2. Declare Expression
  3. Declare Onchange
  4. Constraints
  5. Data page
  6. Declare Index

What are the two types of processing ? a. Procedural processing b. Declarative processing

Procedural processing: When the source values gets changed, the target value does not update automatically.

examples : Data Transforms, Activities, Flow actions

Declarative Processing : when the source value gets changed, the target value gets update automatically eg: all the declarative rules . Declare expression

how does this Declare expression update the target value automatically when the source value is changed? use of Chaining Technique a. Forward Chaining - updated automatically. b. Backward Chaining - Updated only when it is referenced.

These series of declare expressions where the output of one declare expression act as a input to another declare expression it is called as Declarative networks To see this : Goto Configure -> Case Management -> Business Rules -> Declartive network

Declare Trigger: Definition : The Declare Trigger executes when instance of its classes are created, saved or deleted in the database. On the database event, it triggers an activity which contains the logic to be performed.

EG: when a customer withdraw money from the ATM, the SMS has to be sent. Send an email when saving a customer record with an updated address

Screenshot 2022-08-07 171340.jpg

Will be helpful to know about the previous values entered by the user.

Declare Constraints Used for checking conditions and take decision based on that. Constraint follows forward chaining

Screenshot 2022-09-05 182446.jpg

eg: Do not allow loans longer than three years for vehicles more than five years old