Prevent Execution Button from being triggered multiple times

I have an Execution Button that triggers a Workflow Endpoint in my App. The Workflow itself takes about 10-60s to run. Given the relative long runtime, we observed that users try to press the button multiple times.
Is there any way to deactivate the button, as long as the Workflow is running? Because otherwise, we need to ensure that data is only saved once which slows down the Workflow substantially (and thus makes the initial problem worse)

Hi Kai!

There’s the “disableExecutionButton” option, which should do exactly what you envision.
Set “untilFinished” to “true” and you’re ready to go :slight_smile:

4 Likes