Hello Luke,
I'd expect it to be handled by an EventListener so it should trigger it's action instantly.
I did a simple test and for me there's no delay hiding and show a textbox from the checkbox.
In my case the checkbox just changes the variable the decides if the textbox is shown or not, I'm guessing if you're running a complex Custom Action there might be an delay for that to execute.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 10-31-2023 08:12
From: Luke Murphy
Subject: Checkbox button action in scripts delayed when showing inputs and text values via hidden value upon "checked".
Hi Carl, I have tried clicking the checkbox multiple times, with waiting, not waiting, it clearly has a delay in it which is a painful experience. The button replacement resolved it but I did open a ticket about it with Genesys to pass on to their DEV team, I don't think it should be that slow, not a very good user experience unfortunately. I'll let you know what they say.
------------------------------
Luke Murphy
Genesys Cloud Developer
CCS Medical
Original Message:
Sent: 10-30-2023 19:13
From: Robert Wakefield-Carl
Subject: Checkbox button action in scripts delayed when showing inputs and text values via hidden value upon "checked".
I don't see anything in documentation about a built-in delay, but you can't expect the interface to be constantly looking at the screen for changes like a button press. I suspect that there is a 5 second refresh and you probably are catching it mid check. Makes sense to me, but you can open a ticket and see. You might try something simple by having the button change color or something visible that does not involve hiding and appearing. Let us know what support tells you.
------------------------------
Robert Wakefield-Carl
ttec Digital
Sr. Director - Innovation Architects
Robert.WC@ttecdigital.com
https://www.ttecDigital.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 10-30-2023 15:24
From: Luke Murphy
Subject: Checkbox button action in scripts delayed when showing inputs and text values via hidden value upon "checked".
Hi everyone, I have noticed when using the checkbox button action inside a script to be able to trigger either an input or text values to be shown or hidden has a delay when clicking the checkbox action. I have reported this to Genesys, I was able to work around it by using a button, but wanted to share if anyone sees this and wonders, I have done quite a bit of testing, regardless of agent role, and latency (which I am pushing 1gb speeds up), there is no reason for that checkbox action to have a 3 to 4 second delay after clicking it.
Thanks,
#ArchitectureandDesign
------------------------------
Luke Murphy
Genesys Cloud Developer
CCS Medical
------------------------------