Use a string variable's value in a SEQUENCE flow step's Label property as condition

We’re maintaining a set of regex conditions and what we would like to do is store it in a separate file/table for maintainability purposes instead of having multiple SEQUENCE flow steps for each condition (see attachment).

Is it possible to read a variable’s content in a SEQUENCE’s Label property when implementing a BRANCH Switch condition? Or are there other ways to implement what we’re trying to do?

No, it’s not possible that way. You’ll have to evaluate the regexes by a custom code and build logic around it.

Thanks fml, this thread also helped.

What we used instead is pub.string:lookupTable to house our expressions with the useRegex property set to true.