I am having trouble using the SPLIT function on a token in Workflow. I'm trying to take a comma-delimited list of names from a SQL query result and split each name into a multi-value token.
I have tried:
- Assign the value of %(ForEachRow_Names#@Split(/,)@#) to the token %(ListOfNames) within an Assign Token Value activity. I've used by replace existing values and append values options within the activity.
- Run a For Each Value loop on %(ForEachRow_Names#@Split(/,)@#). Within the loop, append the current value to the %(ListOfNames) token.
Neither of these is giving me a multi-value token. Instead %(ListOfNames) is still a string of names and commas.
What am I doing wrong?
Thanks in advance.