Appian Associate Developer (ACD100) — Question 24
In a rule, there is a variable named local!numberOfCustomers which will eventually change value.
You are tasked with creating a variable that captures the original value so that you can later compare the original and new value.
Which parameter settings should you use for your new variable?
Answer options
- A. refreshAlways:true
- B. refreshOnReferencedVarChange: false
- C. refreshOnReferencedVarChange: true
- D. refreshOnVarChange:local!numberOfCustomers
Correct answer: D
Explanation
The correct answer is D because it sets the new variable to refresh whenever local!numberOfCustomers changes, allowing you to capture its original value. Options A and C do not specifically reference the variable in question, while B prevents refresh on any change, which is not suitable for this requirement.