3 Replies Latest reply: Oct 1, 2013 6:26 PM by Frank.Hampshire-Oracle RSS

    Determinations Server - response with and without decision report

    887112

      I'm trying to solve a problem where a decision report will be needed sometimes but not all the time.

       

      Is there a way to have to have the determinations server respond with 2 different responses for 1 request?, or send back the standard response without decision reports and write a response with decision reports to a log?

       

      The concern is that the decision reports will slow the processing of the entire application.

        • 1. Re: Determinations Server - response with and without decision report
          JiSeong

          Hi. It may not be exactly what you are looking for perhaps following link from developer's guide could help.

          Oracle Policy Automation Developer's Guide

           

          Process multiple determinations within the same Assess request

          The Determinations Server is able to process multiple determinations within the same Assess request. To do this you must:

          1. Design your rulebase to concurrently determine multiple outcomes.
          2. At runtime, construct your request to send all the entities you want to reason on, and all the outcomes that you want.

          Rulebase Design

          You can design a rulebase in such a way that it can make multiple determinations concurrently if the determinations are attributes or, less commonly, inferred relationships belonging to a non-singleton (and not the global) entity.

          Once the outcomes belong to an entity, it is possible to create multiple entities and infer the values for all entities at once.

          • 2. Re: Determinations Server - response with and without decision report
            887112

            This is not what I am looking for, this simply covers getting a response per entity.

             

            I am looking for either 2 SOAP responses for 1 request.  Or logging a decision report separately from the standard SOAP response that is going back to the requester.

            • 3. Re: Determinations Server - response with and without decision report
              Frank.Hampshire-Oracle

              There are a couple of ways to do this:

               

              1. Use known-outcome-style and unknown-outcome-style

               

              You can send a request with a different outcome-style depending on whether the value is known or unknown. see Assess Operation Request and Response elements

               

              2. Use multiple requests

               

              If you send the first request, asking for the value only, and then if you decide that you want a decision report based on that response. You can send the request again, this time asking for the decision report. Its a simple modification of the outcome-style attribute.