We are implementing a solution convert a string value to a queue value for ACD assignment. There is a known workaround to achieve this conversion by using string collections & queue collections.
When using the Expression Editor to execute the FindFirst function, PureCloud generates the following error message: 'FindFirst' at position 4 : There is no implementation that accepts parameters of Queue Collection and String Collection.
We have followed the same steps which were described but got stuck when using the expression.
Hello @NathanCorsen,
FindFirst does not support passing in two collections. The first parameter is supposed to be a collection and the second parameter is the string value to search on. To achieve converting from a string value to a queue you should run the FindFirst on the string collection to get the index of the Queue you want. Once you have that index you can use that to access the correct queue in the queue collection.
I will also note that this processing will be going away in the future to allow for true support of dynamic queues which is currently in development.
Please let us know if this does not resolve your issue.
Eric Spence
By looking at that expression above and the error the parser is reporting from the initial post, it looks like the Task.QueueNameStr variable is a string collection and not a string which is why you see that error.
The FindFirst function looks for the singleton value specified in the second parameter in the collection value supplied in the first parameter. Therefore when supplying a string collection to FindFirst for the first parameter, the second parameter should be a string value.