35
Views
3
Comments
Solved
Asynchronous refreshing aggregates and data actions

Hi,

We have scenario to refresh several aggregates and data actions on web block's OnParametersChanged event.

This is executing the refresh actions in synchronous manner.

How to execute the refresh in asynchronous way, so screen loan time would be improved?

Best Regards,

Nitin


Champion
Solution

Hello

There is a way we can do that, There is an article by one of our MVP @John Salamat 

Here is a link to his Article on Medium - https://johnalvinsalamat.medium.com/asynchronous-data-refresh-in-outsystems-4e8b25645a4c


A very well explanatory.

I hope this will help you
Best Rgeards
Tousif Khan

Hi Nitin Chavan , 

You can make a wrapper action and refresh aggregates and data actions on it and call it on OnParametersChanged event action it will work ( You can make screen action ) .

For more you can learn more about Screen and Block Lifecycle .

Thanks 

Arif . 


Hi @Nitin Chavan ,

 According to my analysis, 

1. Optimize your multiple aggregate in two to three aggregate.

2. Another thing is that it is possible to call single data action in place of multiple data actions.

3. According to the requirement, we can set the property of data action or aggregate (Only on demand, Atstart).

There are no fixed method to reduce the loading time, we can only do by own our logic side.

Thanks

RUCHI


Champion
Solution

Hello

There is a way we can do that, There is an article by one of our MVP @John Salamat 

Here is a link to his Article on Medium - https://johnalvinsalamat.medium.com/asynchronous-data-refresh-in-outsystems-4e8b25645a4c


A very well explanatory.

I hope this will help you
Best Rgeards
Tousif Khan

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