Hi any option to run event handler on sucess in order?
lets say i want to first
- run query1
- run query2
- save to a temp state some vars of those query 1 and query 2
Hi any option to run event handler on sucess in order?
lets say i want to first
Use Run Script and then in the script area write
await query1.trigger();
await query2.trigger();
yourTempStateName.setValue(query1.data). // This will depend on how your tempstate is constructed because you could use yourTempStateName.setIn();
You can also chain the event handlers together meaning run one and then when that is done, run the next query and so on
awesome, thank you so much
how will be the chained one?
Using the Success Event Handler in query1 add a new event to Control query and select query 2 and so on