Disable button for x seconds after click

Hi

I would like to prevent the user of clicking the same button multiple times within a given timeperiod.

On the apps page the flow would look like

Click button
Disable the button
Execute the event
perform the actions in the event - when completed, in case of error etc
wait lets say 30 seconds (x seconds) and enable the button again and give the option to start over.

I experience the users can be rather impatient and clicking the button multiple times before the app gives an update.

Any good ideas?

I was thinking of using a custom html activity, but there is no actions linked to this.

best regards
Michael

@Michaeljep

one way you can do is set the enable property of button to false on click and start a process …in process wait for 30 sewconds and send the value of the variable as true and link it to the app variable which would enable the button aagin

or another way if you are using html activity then can use javascript for triggers and changing values and sending in and out…using js we can wait as well for 30 seconds and then sent the value back to true

for passing values in an out check this

cheers