Hello!
This is pretty frustrating, because I've used this before and it's worked perfectly, but for some reason is not working now, when I've got a deadline in a few hours.
It's super simple stuff, I've got a multi-value token (named Type) collecting a string in Workflow, and I'm trying to pass that token to a VB script (to create a CSV file).
The actual code I'm using for this is:
Dim Type As Collections.Generic.List(Of Object) = GetTokenValue("Type")
This will run until it hits this line, and then throws an error:
Unable to cast object of type "System.String" to type "System.Collections.Generic.List'1[System Object]"
Normally, I'd make sure my variable is declared as a list before assigning it to avoid casting, but with the GetTokenValue function, I'm pretty limited. That said, I've used this exact line of code in the past, and have not had issues. Can anyone think of something I could try to get around this?
Thanks!