Check Attribute

Any attribute can be checked to find out whether a specified value is within the given range for that attribute.

check attribute NAME VALUE [businessobject TYPE NAME REV] [connection RELID];

  • NAME is the name of the attribute.
  • VALUE is the value you want to check.

Because an attribute’s Range Program can produce different legal values depending on the state or settings of the owning business object or relationship instance, the business object TYPE NAME REV or RELID can be used to specify the owner of the attribute:

  • RELID is the id of the relationship instance that owns the attribute.

For example, to find out if “3” is a legal value for an attribute called “Priority,” you could issue the following command:

check attribute Priority 3;

If it is not a legal value, the following is returned:

'3' violates range for attribute 'Priority'