Client Action and response

Hi All,

I have a client action as in the image.

Need a small clarification on that.


My client action Sync end holding many server action and DB operations as well.

My doubt will the application waits till i get response from my client action sync end or it will navigates to the screen Wait screen. 



Hi Ajithkumar,


Yes, it wait until the client action is performed(i.e once all the server actions are executed inside client action).Then it will navigate to the screen.


Regards.

Koushik

Koushik Prathi wrote:

Hi Ajithkumar,


Yes, it wait until the client action is performed(i.e once all the server actions are executed inside client action).Then it will navigate to the screen.


Regards.

Koushik

I dont think so since the client action will happen asynchronously thats why I have a doubt 


I am attaching an oml file.  on the button click i am having a client action. Inside that client action i am using server action in order to fetch the user info . Once the client action is performed then we will be navigated to another page

Hello 

A client action will block i.e it will run synchronously.

Check out how to define an async client action. 

https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/JavaScript/Extend_Your_Mobile_App_Using_JavaScript/Defining_Asynchronous_JavaScript_Code