Hello Team,
I’m trying to implement the following logic in Visio:
When the button is clicked, it triggers the dataminer automation script and this part already works.
Now I need to prevent the user from clicking the button again for X minutes and show a popup stating wait for X min.
Has anyone come across this functionality or dealt with a similar scenario?
Hi Ramesh,
The solution from Miguel is an option, however you could also work with any shape you'd like and conditionally show it.
An option could be that you are setting a session variable when you execute the script. So clicking that shape would both execute the script, but also set the session variable. Based on this session variable, you could show a disabled shape. In your automation script, you can again set the session variable to another value to again unblock execution (Passing Automation script output to session variables).
There is also a Lock option to lock elements when you execute a script, but I don't think that is really the use case your after.
Kind Regards,
Jarno