The scripts for triggers remain the same when using business services, except that the name of the business object and the verb change. The triggers should be written on the business object on which the integration object is based. The trigger should populate the new verb and the corresponding business object to the integration object when creating an event.
Because the adapter overrides the default getBO() method, the verb RetrieveByContent must be set before calling the doVerbFor method. In this scenario, if the business object is an integration object, the verb QueryByExample will be set, whereas if the business object is an application-specific interface, the verb Query will be set. The corresponding method for QueryByExample (which is equivalent to RetrieveByContent in the generic business service, EAI Siebel Adapter), is Query.