Hi DOJO,
I'm implementing an ad hoc data source with real-time subscription and have a question regarding input argument changes. When the input arguments are updated, does the system create a new instance and re-execute the entire flow as shown below? Will it re-run all methods starting from GetInputArguments, or only the GetInputArguments method itself?
Thank you in advance!
Hi Frederic,
When the input arguments are updated, the system will execute the entire flow again, starting from the top of the list, in this case, OnInit. This means that it will effectively re-run all the methods in the sequence as if it were a fresh request, ensuring that any dependent logic or downstream data transformations are fully updated based on the new inputs. It does not only call GetInputArguments, it triggers the full execution chain.
I tested this myself with a dummy ad hoc data source and added some logs to observe the flow when an input parameter is changed. In my case, I have four methods: OnInit, GetInputArguments, OnArgumentsProcessed, GetColumns, and GetNextPage. From the image below, we can see that when the GQI loads for the first time, the logs appear up to GetNextPage. Then, when I change the input parameter, the entire flow executes again with the updated input.
Hope this helps!