Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
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.
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.
@jahntech.cj
/[^ ]/ - We can also use this expression to validate if the provided input is not null or empty or spaces [ \t\r\n ] .