Just Checking - Do onClick Data Store Actions Happen in Sequence?

When a button is clicked, I want to:

  1. Delete some entries from a Data Store
  2. Once those entries are deleted, change some values within the Data Store using a flow.

So I can do it like this:

dmx-on:click="
    responses.delete({attendee_number: this_attendee_number.value});
    flow_reorder_responses.run({})"

Is Wappler structured such that the responses.delete is guaranteed to finish before the flow_reorder_responses.run starts?

Thanks!
Antony.

Community Page
Last updated: