36
Views
2
Comments
RefreshData on webhook call
Service Studio Version
11.52.7 (Build 60395)

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. 

2018-06-05 16-54-03
Maria da Graça Peixoto

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

UserImage.jpg
Swami Gallardo

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.