Trigger Request Page

Enter the Oracle CX Sales and B2B Service connection trigger request values for your integration. The values you specify start the integration.

Select the specific type to receive as a request from the Oracle CX Sales and B2B Service. Your ability to select either a business object or event subscription is based on the content of the WSDL file (for business objects) or event catalog URL (for event subscriptions) you specified during Oracle CX Sales and B2B Service Adapter configuration.

  1. Select to receive a business object as a request from the Oracle CX Sales and B2B Service. This selection invokes the integration.

  2. Select to receive an event subscription raised by the Oracle CX Sales and B2B Service application as a request from the Oracle CX Sales and B2B Service. This selection invokes the integration.

Note:

If business events are not displayed for selection, ensure that you configured your URL correctly on the Connections page. For connections created before the 18 February 2020 release of the simplified connections page, you must explicitly specify the Events Catalog URL. For connections created on or after the 18 February 2020 release of the simplified connections page, you must specify only the Oracle CX Sales and B2B Service host name. See Configure Connection Properties.
Element Description

Configure a Request

Select the request type appropriate to your integration. The fields that are displayed below are based on the request type that you select.

  • With Business Objects: Select to display a list of business objects.

  • With Business Events: Select to display a list of event subscriptions

Select a Business Object

(is displayed if With Business Objects is selected)

Select the business object from the Oracle CX Sales and B2B Service application to receive as a request that starts the integration.

Business Event For Subscription

(is displayed if With Business Events is selected)

Select the event subscription from the Oracle CX Sales and B2B Service application to which to subscribe. This event is received as a request that starts the integration. Only events that can be subscribed to are displayed

Any custom business events that you created and published in the the Application Composer application are also available for selection. Custom events are identifiable by their description.

Filter Expr for Business_Event_Name

(is displayed if With Business Events is selected)

Enter an event condition filter expression. A filter expression specifies that the contents (payload or headers) of a message be analyzed before any event subscription is sent. For example, you can apply a filter expression that specifies that an event subscription be sent only if the message includes a customer ID. When the expression logic is satisfied, the event is accepted for delivery to the integration.

As another example, assume you have the following event payload and want to process records where OwnerName is provided.

...
<Body xmlns="http://schemas.xmlsoap.org/soap/envelope/">
   <ns01:onEvent
      xmlns:ns01="http://xmlns.oracle.com/cloud/adapter/osc/UpdateCustomerFromAccou nt_REQUEST/types">
   <ns0:getAccountResponse
      xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
      xmlns:wsa="http://www.w3.org/2005/08/addressing"
      xmlns:ns0="http://xmlns.oracle.com/cloud/adapter/osc/UpdateCustomerFromAccoun t_REQUEST/types"
      xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
      <ns0:result
        xmlns:ns4="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:ns3="http://xmlns.oracle.com/apps/crmCommon/notes/noteService"
        xmlns:ns="http://xmlns.oracle.com/apps/crmCommon/salesParties/commonService /"
        xmlns:ns0="http://xmlns.oracle.com/apps/crmCommon/salesParties/accountServi ce/types/"
        xsi:type="ns4:Account">
        <ns4:PartyId>100000003362469</ns4:PartyId>
        <ns4:PartyNumber>AIMA-16BBRP</ns4:PartyNumber>
        <ns4:SourceSystem>CPI</ns4:SourceSystem>
        <ns4:SourceSystemReferenceValue>AIMA-16BBRP</ns4:SourceSystemReferenceValue >
        <ns4:OrganizationName>Bank of America</ns4:OrganizationName>
        <ns4:UniqueNameSuffix xsi:nil="true"/>
        <ns4:PartyUniqueName>Bank of America</ns4:PartyUniqueName>
        <ns4:Type>ZCA_CUSTOMER</ns4:Type>
        <ns4:OwnerPartyId>100000000225011</ns4:OwnerPartyId>
        <ns4:OwnerPartyNumber>2008</ns4:OwnerPartyNumber>
        <ns4:OwnerEmailAddress>jhays@cpicardgroup.com</ns4:OwnerEmailAddress>
        <ns4:OwnerName>Jim Hays</ns4:OwnerName>
       . . .
      </ns0:result>
    </ns0:getAccountResponse>
  </ns01:onEvent>
</Body>

The incoming event payload is referenced with $inputVariable. The payload response from the enrichment service can be referenced with $eventPayload. Given the event payload, you reference OwnerName as follows:

<xpathExpr xmlns:ns0
='http://xmlns.oracle.com/cloud/adapter/osc/UpdateCustomerFromAccount_REQUEST/types
' xmlns:ns1='http://xmlns.oracle.com/apps/crmCommon/salesParties/accountService/'> 
$inputVariable/ns0:result/ns1:OwnerName = 'Jim Hays'</xpathExpr>  

Filter by object name or Filter By Event Name

Type the initial letters of the name to filter the display of business objects or event subscriptions.