There also a way to make the regular expression complex expressions.
In the Flow Branch properties set Evaluate Labels to true. Then each of the labels of the steps inside the Branch will be evaluated through an expression evaluator that supports &&; || and other boolean operators (the same type of expressions that can be added to a Flow Map Copy).
For instance, in my negative test cases after a call to WmPublic pub.flow:getLastError, I have the following expression as the label for my Success case:
%lastError/error%=%expectedErrorMessage%
The fail case has the label $default.
#webMethods-General#webMethods#Integration-Server-and-ESB