Thanks for the suggestion, @Jim Ullyot.
I have tried using toString(Flow.TrackingNumbers, ",") but it still seems to flatten it into the first index of the Script's String List (comma's included).
I'll review that link and give that another try.
Going to export the Script and see if I can find weird data properties associated with those variables.
------------------------------
Richard Wilson
American Signature Inc
------------------------------
Original Message:
Sent: 09-20-2023 18:47
From: Jim Ullyot
Subject: Script/Screen Pop - String List Input
Hi @Richard Wilson,
Thanks for the question!
Have you tried using this expression for the `CUST_TrackingNumbers` input value?
ToString(Flow.TrackingNumbers, ",")
I haven't run a test but am guessing the default ToString conversion function that's being used to convert the string collection to a string is putting \n in as the delimiter character between collection items in the returned string and when looking at https://help.mypurecloud.com/articles/script-input-output-variables/ where it talks about list variable inputs:
* A List variable when used as an input will have the value on the conversation split by comma.
That changing the delimiter to a comma could do the trick.
Thanks!
Jim Ullyot
------------------------------
Jim Ullyot
Genesys
------------------------------