Service action vs server action

Hi,

As a developer, how to make a decision whether to create a server action or service action? 

Thanks,

Saicharan

Hello Sai, 

Please, read this: https://success.outsystems.com/Documentation/11/Developing_an_Application/Reuse_and_Refactor/Use_Services_to_Expose_Functionality#Exposing_Service_Actions

It will give you a very good insight on the scenarios where a Service Action is useful. 

Cheers

Hey Sai,


The name itself suggests the usage. Server actions are more suitable for tightly coupled architecture kind of functionalities where any changes required a refresh at the consumer level too. While service actions are more for the service oriented architecture or the loosely coupled architecture. Let me know if you are looking for any other specific details. You can always Google for articles around these for better understanding. 


Hope this helps!



Cheers,

Tushar


Hi Sai,

I like this decision table to decide what type of service to use:

Regards,

Daniel