which option is the correct?Which attributes determine whether a Data Action will re-execute? (Choose two)
A. IsSynchronous
B. RefreshOnDataChange
C. FetchOnStart
D. AutoRefresh
I think B and D
may i ask explanation please?
Firstly, all 4 are not the built-in attributes of Outsystems
A. only to determine the task is synchronous or asynchronous => wrong
B. can refer to OnParameterChanged event that will call the refresh aggregate / data source if the inputs change => true
C. can refer to fetch at start of the aggregate / data source, just once => wrong
D. as I mentioned there is not built-in attribute like this, but it can refer to the client logic to auto refresh the data like this component
but why u can still get the question from Outsystems 10?
B,D
A: Not related
C: Not re-execute
B. RefreshOnDataChange and D. AutoRefresh is Correct
These two attributes control whether a Data Action will re-execute.
RefreshOnDataChange → The Data Action will re-execute when its input parameters or dependent data change during the screen lifecycle.
AutoRefresh → Enables automatic re-execution of the Data Action when the screen refreshes or at defined intervals.
Hi @Kim Sukyung
B. RefreshOnDataChange Explanation: RefreshOnDataChange controls whether a Data Action automatically re-executes when one of the variables it depends on changes. If set to True, the Data Action will re-run whenever its input parameters or referenced data change.
This behavior directly determines when the Data Action re-executes.
D. AutoRefresh Explanation: AutoRefresh specifies whether the Data Action should automatically refresh when the screen or block is refreshed. When enabled, the Data Action is re-executed during refresh cycles (such as Ajax Refresh).
This directly affects whether and when the Data Action runs again.
Hence, this attribute does determine re-execution.
Therefore, this attribute does determine re-execution.
Hi @Kim Sukyung ,
None of these are real Data Action attributes. Re-execution is controlled by input dependencies and reactive lifecycle. A Data Action re-runs when its input parameters change or when it is explicitly refreshed either through a Refresh Data action or by logic that updates its inputs.
I recommend relying exclusively on the official resources for this exam, as they are fully sufficient.