What is the difference between Service Action and Server Action?

Hi,

What is the difference between Service Action and Server Action? I want to know where we can user service actions and what is the major difference between both.


Thanks,

Dileep

Dileep Verma wrote:

Hi,

What is the difference between Service Action and Server Action? I want to know where we can user service actions and what is the major difference between both.


Thanks,

Dileep


Hi Dileep

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

this will help you to better understand service action and its use case.

Regards

Seema

Seema Pandey wrote:

Dileep Verma wrote:

Hi,

What is the difference between Service Action and Server Action? I want to know where we can user service actions and what is the major difference between both.


Thanks,

Dileep


Hi Dileep

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

this will help you to better understand service action and its use case.

Regards

Seema

Added to this, use of service action will create weak dependency (When you change the functionality in your producer, there is no impact on the consumer module at runtime and the consumer immediately starts using your latest implementation).

while, use of server action will create strong  dependency (The changes you performed in the producer module are compatible with the consumer, which means that there are no manual fixes to do in the consumer, but the consumer is now running an outdated version of your producer.)

you can check more on strong and weak dependency here. :)