Specifications
The following happens when invoking the PublishEvent() method:
- If no subscription exists for the business object then nothing is done. Otherwise the following steps are executed.
- The request is enqueued. After committing the transaction, the request is picked up by a publisher process, which publishes the event, if it matches the subscription filter.
Note:
- PublishEvent can be used
for both standard events (create, change or delete) and application-specific
events.
See also section How to Implement this in the Application.
- In the event being published, actionType elements can be used. Any actionType values can be used. However, in case of standard actionTypes such as create, change and delete, the developer is responsible for using action types that are valid and match the specified eventAction.
- The method must be called
from within a database transaction.
See section Introduction.
- After invoking the method clean up this request xml and response xml using xmlDelete().