Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

RegEx in condition builder

jaakko_jalo
Tera Contributor

Hello,

In the condition builder we now have the 'matches regex' operator. ...But what are all the regex we CAN use in it?
For example: beginning of line operator '^' does not play nicely with the condition builder in this case as it is assumed it means AND and will add a second condition when saving.

Is there some other character denoting beginning of line for the condition builder? What other exeptions might there be and do they have workarounds?

thanks in advance,
Jaakko Jalo

25 REPLIES 25

The issue is using regex in the Condition Builder. The problem is the underlying Java code that translates conditions into SQL.