231
Views
1
Comments
How to asynchronously execute 2 different server actions on the same screen?
Application Type
Traditional Web

Hi every one,

How to execute 2 different server actions at the same time (asynchronously) in the same screen?

I am trying by creating 2 server actions on 2 different buttons and using javascript to asynchronously click those 2 buttons. But the results of the other two server actions are still performed synchronously.

Ps: timer and BPT are not suitable for my requirements because of some limitations (like not being able to cast list objects...)


2018-08-06 13-40-17
Ramakrushnarao Seera

Hi, 

In case of Traditionally web application outsystems supports async programming in Timers and BPT only.

Since you are using traditional , I would say go with one of them , 

Use Data base for transforming the objects , Create a temp entity where you store your object and pass that ID to timer or BPT and after processing delete those records from database.


In case of reactive,


Best Regards,

Ram

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.