I am needing to use a Matches Regular Expression when setting up a condition in a workflow. I need to compare the regular expression against a multivalue field though. Will that work by itself or does it need to be put through a repeat to evaluate each value in the field?
Question
Question
Does 'Matches Regular Expression' look at all values in multivalue field?
asked on June 2, 2017
1
0
Replies
replied on June 3, 2017
I have used a reg exp to match on a multi value token. However I first had to apply an index to combine all the values prior to the match and this can return all matches as another multi-value token.
So if my multi value token to be matched on was called testToken, I would apply a token dialog to it 'Apply Index -> All values separated by a: Line Break' as the input to my match statement. (%(testToken#[]#))
I can then match on all values and return a multi value token ( or combined with no spaces ) for those entries that match the reg exp.
0
0
replied on June 5, 2017
Yes, it does. It checks if any of the individual values matches the regular expression.
0
0
You are not allowed to follow up in this post.