How to close performance warnings

HI All.


How to close this kind of performance warnings.. I have Create one server action For this three Server action But while Publish i have got internal error..is there any way to clear this error.


Thanks

Vinith


    

Hi Vinith,

When developer tries to call multiple server actions in a single client action then in background each time a Server Action is executed in a Client Action there is a request going from the user device to the server. Having several Server Actions in the same Client Action will result in multiple requests to the server, which can slower the application. Please use this link as a reference.

https://success.outsystems.com/Documentation/11/Reference/Errors_and_Warnings/Warnings/Performance_Suggestion_Warning?utm_source=ost-outsystems%20tools&utm_medium=ost-servicestudio&utm_campaign=ost-docrouter&utm_content=ost-helpid-30137&utm_term=ost-contextualhelp#helpid-30137

Way - 

1. Create a new server action and call other needed server action which you were defining in client action.

2. Then call that server action to the client action to avoid performance issues.


Hope this will guide you why we are avoiding multiple server actions in a single client action & how we can define our requirements.


Thanks

mvp_badge
MVP

Hi Vinith,

Compiler errors should never occur, and they have nothing to do with this particular performance problem. Please report the compiler error to OutSystems Support.


If I understand the situation right, you are calling multipler server actions in one client action. 

Any client action should contains one server action to avoid any performace issues.

 So

 1-create On server action which contains all action you need to do 

2-use that server action in the client action

Hi Vinith,

When developer tries to call multiple server actions in a single client action then in background each time a Server Action is executed in a Client Action there is a request going from the user device to the server. Having several Server Actions in the same Client Action will result in multiple requests to the server, which can slower the application. Please use this link as a reference.

https://success.outsystems.com/Documentation/11/Reference/Errors_and_Warnings/Warnings/Performance_Suggestion_Warning?utm_source=ost-outsystems%20tools&utm_medium=ost-servicestudio&utm_campaign=ost-docrouter&utm_content=ost-helpid-30137&utm_term=ost-contextualhelp#helpid-30137

Way - 

1. Create a new server action and call other needed server action which you were defining in client action.

2. Then call that server action to the client action to avoid performance issues.


Hope this will guide you why we are avoiding multiple server actions in a single client action & how we can define our requirements.


Thanks

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