15
Views
4
Comments
Solved
Client action has no output parameters. Please confirm whether the following question
Question
Application Type
Reactive


Rank: #270
Solution

Hi Liu,

I think you are confused between client action vs. screen action.

  • Screen Action - runs screen logic, w/ access to local variables
  • Server Action - runs server logic, w/ abstract reusable logic
  • Client Action - runs client logic, can be reusable, and is reactive
mvp_badge
MVP
Rank: #69

Hello Liu.

Client actions do have Output parameters and you can create them yourself.

If you don't want to try it or read all again, check the images on the link.

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

The examples include outputs.

Rank: #112

Hello Liu,

As described in the quiz answer, both Client Actions and Server actions can have several output parameters.

You can see it below:


What you are probably referring is to Screen Actions. They are indeed client actions (if you are working on a Reactive Web Application), but they are used in the context of a screen. Those Screen Actions cannot have output parameters, only input parameters and local variables.


So, there is indeed a difference between a Client Action (generic therm for an action that runs logic on the client side) and a Screen Action (action that runs in the context of a screen).


Hope that this helps you!


Kind regards,

Rui Barradas

Rank: #7623

Hi Liu, client action can have output, and it serve the purpose of returning result to caller (just like function). Maybe you misunderstood it with screen action.

Rank: #270
Solution

Hi Liu,

I think you are confused between client action vs. screen action.

  • Screen Action - runs screen logic, w/ access to local variables
  • Server Action - runs server logic, w/ abstract reusable logic
  • Client Action - runs client logic, can be reusable, and is reactive