Appian Associate Developer (ACD100) — Question 4
You are using local variables defined in a!localVariables().
Based on the default refresh behavior, when will the variable refresh?
Answer options
- A. Variables are refreshed when introduced in a!forEach().
- B. Variables are refreshed on every interaction.
- C. Variables are refreshed when any referenced variables are changed.
- D. Variables are refreshed once the form is submitted.
Correct answer: C
Explanation
The correct answer is C because the refresh behavior of local variables occurs when any referenced variables change, ensuring that they reflect the latest data. Options A and B are incorrect as they describe specific scenarios that do not align with the default refresh behavior. Option D is also incorrect since the refresh happens based on variable changes, not just at the point of form submission.