I have a on-click triggered workflow in my site right now that runs a multi-stage workflow and as soon as I click the button to trigger the workflow again - instead of queuing the workflow request the latest on click trigger overtakes the previous workflow run and leaves it incomplete.
I see from a seperate thread that " executeWorkflow is an async function, so if you call it without awaiting it you can run multiple workflows concurrently."
does that mean I must trigger my workflow using JS in order to have them run async?
If you want sequential workflows, then yeah, building them as globals and then triggering them sequentially with Execute workflow might be your best bet.