Professional Documents
Culture Documents
Interview Questions On Declare Expression
Interview Questions On Declare Expression
Ans: It helps the automatic calculations of the property value based on the changes of the other
property value.
1. Whenever Inputs Change: (Every time when source properties changing Declare expression
gets executed and assign the target prop value this is FWD chaining.)
2. Whenever Used: Every time when we use target prop declare expression will be executed to
assign value to target prop. This is backward chaining.
Ans: This method is mostly used for the backward chaining purpose.
Ans: Declare Expression rules with whenever inputs change; Declare Trigger and Declare
OnChange rules.
Ans: When a circumstance property’s value changes, the declarative network re-evaluates the
expression or constraint. However, if a circumstance property reference uses a top-level page
name, changing that property’s value does not cause the declarative network to re-evaluate the
expression or constraint.
Ans: Never change the target properties manually. Also prefer to use whenever used
9. Your business wants to give provision to your end manager to adjust the calculation of final
loan disbursed amount (by offering some random discount). How you can do this?
10. Can you create a declare expression on a property defined in Rule-Declare class?
Ans: No
Ans: Yes we can. Under the page context field, identify a Page List or Page Group property
reference plus parentheses, starting with a period and omit any index between parentheses..
12. Suppose you have created two declare expression for the same property. One is with page
context: myPage.EmployeeAge and other is only the property EmployeeAge. At run time
which one will run?
13. What are the decision rules you can refer from declare expression?
14. Can you fire a declare expression from an onChange type activity?