How to wait until automation finish from UIPath APP?

I have created a simple uipath app with simple textbox and button, when button click is performed i need to pass user entered value to a uipath process and get output and pass that out put to another process, but first process is not waiting until it finish,

is there any solution?

@Roshan.Manchanayake please put delay activity.
put time 00:00:10 its 10 second.

Is that available in UIPath apps? is “yes”
i dont think that as solution, what happens if process took more than 10 secs to execute?