EMEM gate, DEFINE_COMPOSITE_EVENT function
The DEFINE_COMPOSITE_EVENT function defines a composite event with an associated predicate which may be AND or OR. Up to eight subevents may be provided.
Input Parameters
- EVENT
- is the name of the composite event.
- PREDICATE
- is the predicate type.
- Values for the parameter are:
- AND
- OR
- SUBEVENT_LIST
- Optional Parameter
- is an optional list of up to 8 subevents.
Output Parameters
- REASON
- The following values are returned when RESPONSE is EXCEPTION:
- DUPLICATE_EVENT
- INVALID_EVENT_NAME
- INVALID_SUBEVENT
- NO_CURRENT_ACTIVITY
- SUBEVENT_NOT_FOUND
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- SUBEVENT_IN_ERROR
- returns the number of the first subevent which is in error (if any).