Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awIs | awIsEventFieldSet
 
awIsEventFieldSet
BrokerError awIsEventFieldSet(
BrokerEvent event,
char *field_name,
BrokerBoolean *is_set);
event
The event whose field is to be checked.
field_name
The field name to check.
is_set
Set to 1 (true) if the field is set; otherwise, set to 0 (false) . This parameter is used for output.
Determines if the specified field was explicitly set to its current value. The field_name can directly identify any field in an event, no matter how deeply the fields are nested. See Specifying Field Names for complete information on specifying field_name.
See Sequence Data Fields and awGetFieldNames for more information.
Possible BrokerError major codes
Meaning
AW_ERROR_FIELD_NOT_FOUND
The event is associated with a Broker client and field_name does not exist in the event.
AW_ERROR_FIELD_TYPE_MISMATCH
The field_name incorrectly accesses a type.
AW_ERROR_INVALID_EVENT
The event is invalid.
AW_ERROR_INVALID_FIELD_NAME
The field_name is invalid.
AW_ERROR_NULL_PARAM
The parameter field_name or is_set is NULL.