8
Views
2
Comments
Solved
How to resolve Expected Aggregate Refresh warning

How to resolve Expected Aggregate Refresh warning onParametersChanged event handler of the block

Capture.PNG

Rank: #112
Solution

Hello Swapnil,

For that, you will need to create an On Parameters Changed Event for that Block.

In the client action associated to that event (eventually the name will be OnParametersChanged), you should refresh your Aggregate. In order to refresh the Aggregate (GetWorkflowStagesByStageNo), you just need to drag and drop it to the action: 

Hope that this helps you!


Kind regards,

Rui Barradas

Rank: #393

select the right event 'on parameters changed' in : 

and within the 'onParametersChanged' action, refresh your aggregate. 

see the following links as well:

https://success.outsystems.com/Documentation/11/Developing_an_Application/Implement_Application_Logic/Screen_and_Block_Lifecycle_Events

https://www.outsystems.com/learn/courses/121/blocks-and-events/?IsFromFeedbackEmail=False