I have a button and this button creates a thing in the database.
I dont want the button to create multiple things in case its clicked double, so I use a custom state that serves to disable the button via a condition after its clicked (i.e. if custom state X is “yes”, button cannot be clicked).
It seems that when the workflow starts, the setting of the custom state does not work fast enough, because when I do fast double clicking, the button still creates 2 things.
Does anyone know how to fix this? I want to button fail proof.