I'm new to OutSystems development.
I'm developing a Reactive Web app.
Within a client action, when exactly do assignment expressions or conditional expressions set immediately after an Aggregate's Refresh Data execute?
I'm unsure whether they run after Refresh Data completes or while it's still running.
Please advise.
Hello Aichan,
Hope you're doing well.
In a Reactive Web App (as well as in a Mobile App), screen Aggregates and Data Actions run asynchronously, when executed At Start (unless they depend on other, then they wait - thank you to @Dorine Boudry for signaling this omission).
But in a screen action, the flow stops and waits for the Aggregate / Data Action to finish, before it continues.
In your scenario, the RefreshGetEmployees node triggers the Aggregate to run synchronously, which means that the client action does wait for the Aggregate’s data to finish loading before moving to the next logic step.
Hope that this helps you!
Kind regards,
Rui Barradas