Glad to hear it.
Would be nice if we didn't have to do that extra step though.
Original Message:
Sent: 03-04-2024 09:54
From: Andrew Lagarde
Subject: Script does not load
Thanks, worked like a charm.
------------------------------
Andrew Lagarde
KPN B.V.
Original Message:
Sent: 02-25-2024 18:20
From: Anton Vroon
Subject: Script does not load
In Architect when you supply the input, that converts the array to a string, with new line \n deliminated values by default. The Agent script however deals with comma separated values for it's arrays, because why would you want those to be consistent? As a result, if for the input variable in architect you do ToString(Task.ThiIsAnArray,",") Then it works in the Agent Script for the dropdowns.
I still think it is a bug, but will probably be a feature request for arrays to work with new lines instead of commas.
------------------------------
Anton Vroon
Original Message:
Sent: 02-16-2024 10:09
From: Andrew Lagarde
Subject: Script does not load
Greetings,
I am trying to use a data action in a script to read a Genesys Data Table. This action works fine on its own and generates a list.
In the Architect I can use this action and parse it into a string for example. But when I try to use this list to populate a dropdown list my script fails to load.
It seems that the Dropdown function is not working properly when using a variable instead of creating a list yourself with hardcoded values/ Variables.
Has anyone tried this before?
If I can have a working example that would help. Or if anyone knows how to get some more data on troubleshooting a script?
The error I get with F12 is "values.map is not a function." which would suggest it does not accept a list of string?
#Implementation
------------------------------
Andrew Lagarde
KPN B.V.
------------------------------