Determines whether the specified value is a valid data type for a specified attribute.
Returns true if the specified value is a valid data type; otherwise, returns false.
Checks the compatibility of the value passed in with the target attribute
(as specified by the Attribute input). These are the criteria:
for primitive types (String, long, int, double, float, boolean) | the value must be convertible to the data type of the attribute |
for a BusObj | the value must have the same type as that of the target attribute |
for a BusObjArray | the value must point to a BusObj or BusObjArray with the same (business object definition) type as that of the attribute |
for an Object | the value must be of type String, BusObj, or BusObjArray. The corresponding validation rules are then applied. |
This function block is based on the BusObj.validData() method. For more information, see validData().