Check for Empty String in Integration Server Flow Services

products versions - webMethods Integration Server (all versions)


One of the most frequent tasks, when developing an integration solution, is to check whether a field contains data or is empty. This video shows an easy way to perform such a check in a Flow Service on webMethods Integration Server.


An Integration Server development environment must be available, but other than that no particular requirements exist.

Steps to follow

Instead of evaluating an expression like

(%customerRecord/addressList/shippingAddress/location/street% != $null) &&
(%customerRecord/addressList/shippingAddress/location/street% != "" )

you can simply use the following regular expression


It evaluates to true if one or more characters are found in a field.



/[^ ]/ - We can also use this expression to validate if the provided input is not null or empty or spaces [ \t\r\n ] .