Policy Automation for B2C Service

Get Involved. Join the Conversation.

Topic

    bharath kumar
    OPA Determinations API connected to Oracle Service CloudAnswered
    Topic posted March 2, 2018 by bharath kumar 
    157 Views, 2 Comments
    Title:
    OPA Determinations API connected to Oracle Service Cloud
    Content:

    Hi,

    We have OPA connected to Oracle Service Cloud. We are required to integrate OPA interview with external application wherein the external application will send only Contact ID as an input over OPA webservice to get the Goal determined by OPA rules, all the other information of contact required in OPA rules has to be retrieved from Oracle Service Cloud connected to policy models with a data mapping.

    As per the documents I understood that the Oracle Service Cloud connections are not currently supported for "Assess service (SOAP)" and "Interview service (SOAP)". Please guide me the approach to achieve the requirement to get Goal value of OPA interview of data mapped to Service Cloud by consuming Determination API.

    http://documentation.custhelp.com/euf/assets/devdocs/may2017/PolicyAutomation/en/Default.htm#Guides/Developer_Guide/DeterminationsAPI/Overview_of_Determinations_API.htm

     

    Regards,

    Bharath G

    Best Comment

    Davin Fifield

    Hi Bharath,

    You are right, OPA Determinations API does not load data from any other data source: it only takes the information it is provided, and returns decisions.

    If your aim is to update tables in Service Cloud with the results of OPA decisions, you will need to
    (a) Query the data needed from Service Cloud

    (b) Pass that data to OPA in a web service call

    (c) Save the results returned from OPA into appropriate Service Cloud fields

    Exactly how you perform each of these steps depends on a number of things, including:

    * Whether data needed for the decision is already saved into Service Cloud fields, or whether it is only entered into a screen field

    * Whether you prefer to use SOAP or REST calls

    * Whether the customer has licensed Enterprise Assessment API

    * Whether you want to save decision reports, or just the returned decisions.

    Hope that helps get you pointed in the right direction.

    Davin.

     

    Comment

     

    • Davin Fifield

      Hi Bharath,

      You are right, OPA Determinations API does not load data from any other data source: it only takes the information it is provided, and returns decisions.

      If your aim is to update tables in Service Cloud with the results of OPA decisions, you will need to
      (a) Query the data needed from Service Cloud

      (b) Pass that data to OPA in a web service call

      (c) Save the results returned from OPA into appropriate Service Cloud fields

      Exactly how you perform each of these steps depends on a number of things, including:

      * Whether data needed for the decision is already saved into Service Cloud fields, or whether it is only entered into a screen field

      * Whether you prefer to use SOAP or REST calls

      * Whether the customer has licensed Enterprise Assessment API

      * Whether you want to save decision reports, or just the returned decisions.

      Hope that helps get you pointed in the right direction.

      Davin.

       

    • bharath kumar

      Thank you Davin for your detailed response, this help me in choosing correct approach for designing the application.