I have this simple Client Action that calls for a Refresh of an aggregate
I want this Refresh to be called every time this REST API method is consumed:
How can I do this? It seems I can call Server Actions from this method, but I can not call Aggregates Refresh on the Server Action so I haven't found a way to do it.
The screen aggregates only work inside the screen where they are defined. The Rest is a server action that runs in another transaction. So you cannot call the refresh from there.
You'll have to think on a way to "tip" the screen to refresh itself.
Regards
Graça
Thank you, yes, I am aware that I can not call the refresh from there. I was wondering how this could be done within outsystems.