Actually my issue was two-fold which added to my assumption that logical operators didn't work.
I had found another way to do what I wanted but in essence OR doesn't equal or as only or works. And as for and, that works too but not AND.
:-)
------------------------------
Angus Huckle
Spark NZ Trading
------------------------------
Original Message:
Sent: 08-30-2021 00:51
From: Anton Vroon
Subject: Script Dynamic Variable with OR
Seems to work for me
Example
------------------------------
Anton Vroon
KiwiBank
Original Message:
Sent: 08-29-2021 19:00
From: Angus Huckle
Subject: Script Dynamic Variable with OR
I have tried OR and no, it doesn't appear to work. Happy to be corrected by anyone from Genesys. Would be a very useful feature.
------------------------------
Angus Huckle
Spark NZ Trading
Original Message:
Sent: 04-15-2021 11:29
From: Robert Wakefield-Carl
Subject: Script Dynamic Variable with OR
Have you tried using OR instead of ||? Also, have you tried using Contains(Lower(Sub-reason), "cancellation") or Contains(Lower(Sub-reason), "complaint")
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.com
https://www.Avtex.com
https://RobertWC.Blogspot.com
Original Message:
Sent: 04-15-2021 00:27
From: Frank Gibson
Subject: Script Dynamic Variable with OR
Hi,Is it possible to include an OR statement in a TRUE/FALSE dynamic variable, like:
{{Sub-reason}}=="Cancellation" || {{Sub-reason}}=="Complaint"
The above doesn't work and I've tried some variations, can't get it to work. Is it possible?
The use case if to show a button on the script if the sub-reason selected by the agent is Cancellation or Complaint.
Thanks!
#ArchitectureandDesign
------------------------------
Frank Gibson
Probe Contact Solutions Australia P/L
------------------------------