Question about server actions in mobile and performance
Question

Hi

When we use more than 1 server action in a client action we get a warning about performance.

What is the best practice in this case?

- Put each server action inside one client and then call the clients on the main client action or call all the server actions inside a single server action?

Thanks!

Hello Julia,

Outsystems suggests to encapsulate all server actions required for a client action within one server action.

Regards,

Riyaz

Thank you! :)

mvp_badge
MVP

Correct, and the reason to do this is that with this way you minimize the calls from the client to the server to 1. Every call to the server is "expensive" as it needs to go over the network/internet.

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