So I am parsing a csv file and inserting it into a SQL table with Workflow.
When the workflow runs, I eventually get the following error:
That didnt make sense so I searched the csv file. One of the fields happens to contain a format for workflow token.
So workflow thinks its a token has a problem.
I tried to add a branch to the worklfow that if the field that is going to be inserted matches regex .*%\(.* then try and pattern match and split it up. Get first part up to the ( through pattern match. Then get the second part. Then simply update to the token to be the first and second part with a space in-between and insert that..
However, when even trying the pattern match I get the following error:
Any ideas as how to solve this? I believe I have the way to identify if there is a problem with the value, but once identified it seems that every check relies on the value that workflow thinks is a token.
Thanks,
Chris