I’m completely lost. I receive a field containing three blanks. I only want to map this field when it’s containing a Unit of Meassure / or just a value.
Using /[^ ]/ in the sequence label does not really work it’s always going into default step. Even when I modify the pipeline and delete the blanks.
Using string.length return “3”.
/[^ ]/ means NOT null, NOT empty, and contains at least one non-space character. By placing <> in front of it, the condition is reversed to mean null, empty, or blanks.
Hi Dennis,
When ever in Branch you want to do the match based on the value u get in to the condition variable, mention the Evaluate labels: true, as this will allow the branch condition to evaluate teh condition u mention in the switch statement
Setting evaluate labels to true isn’t necessary to do the comparison. As jday points out the regex of /[^ ]/ will be matched with any string that is not null, not empty and not just spaces.