Can Somebody explain the conceptual difference between load() and with() function ? what if I use a rule which is declared inside load() function and again use it without load() function in a form , what will be the difference ? Can somebody explain please.
Discussion posts and replies are publicly visible
Load() function= a local variable's variable is only calculated the first time the expression is evaluated
With() function= a local variable's value is re-calculated when the expression is reevaluated
Please see these links: https://docs.appian.com/suite/help/17.4/fnc_evaluation_load.html https://docs.appian.com/suite/help/17.4/fnc_evaluation_with.html
load() = Load Function
with() = With Function
Difference = load evaluate only once when form is loaded, and with evaluate for each user interaction with the components. Cascading dropdown is a very good example, the first dropdown is in load and evaluates only once when the form is loaded, but second dropdown in with evaluate every time when user change the value in first dropdown.