OnSucess Event Does Not Guarantee Data In Expressions

Wappler Version : 5.3.0
Operating System : W11
Server Model: NodeJS

I have a SC which fetches some data. On success dynamic event, I call a Page Flow, which uses a value from this SC to call another SC.
But, every time, when the flow runs, the SC binding is empty.
To around this, I changed the success dynamic event to inline flow and added a 100ms Wait as the first step. Now the flow works fine and second SC is called with correct values.

This is an unacceptable setup. The steps inside flows are already unsynchronized, so have had to use JS many times to do something that could have been done with a flow.
This new timing issue is really bad, so creating this bug report.

On success/done/error or any such event, the data of server connect should always be available. The event should not fire if the data is not yet available in the dmx objects.

I don’t see any problem with my setup, but if there is, please let me know. If not, please improve this.

Community Page
Last updated: