Is Blank

Determines whether the value of an attribute is set to a zero-length String.

Inputs

Business object
The current business object (a BusObj object).

Attribute
A String that specifies the name of the attribute you are querying.

Output

Returns true if the attribute value is a zero-length String; otherwise, returns false.

Notes

A zero-length string can be compared to the string "". It is different from a null, whose presence is detected by the Is Null function block.

If a collaboration needs to retrieve an attribute value and then do something with it, it can call Is Blank and Is Null to check that it has a value before retrieving the value.

Related information

This function block is based on the BusObj.isBlank() method. For more information, see isBlank().

Copyright IBM Corp. 1997, 2004