Determinations Engine and inferred relationships

I have a rulebase which is working fine through the determinations server.
However, when I try to use the determinations engine directly, it doesn't seem to deal with inferred relationships.
I'm using 10.2, so the relaionships seem to be all present and correct when i debug in Visual Studio.
Can anyone suggest what I might need to do?
I had a similar problem with Instance functions, which was fixed by setting MarkContainmentComplete, so i think i'm just missing some similar setting on the relationships.
Thanks.

The answer is:
My data structure is
global
----->child
---------->grandchild
I was setting containment complete on each of the children, and since that fixed the instance count, and since I'm only using the inferred relationship to get a subset of grandchildren, I thought that would do the job.
However, it seems that the inferred relationship is evaluated on all grandchildren, regardless of their parent, so once I set containment complete on the global entity as well, it worked fine.

Similar Messages

  • How to provide inferred relationship as an input in the SOAP UI request.

    In a single OPA project, I have two separate requests.
    Request 1: All the base INPUTS are provided and an inferred relation is an OUTPUT of the request. The outputs of this request (attributes as well as relationships) is stored in the database. So that it can be retrieved and be used as an Input in some other request.
    Request 2: The inferred relation from Request 1 is retrieved from the database and is provided as INPUT and then the respective OUTPUTS should be derived.
    But when I try hitting the Request 2 (which uses INFERRED RELATIONSHIP as input) it throws me an Error saying "Inferred relationship cannot be set by the user".
    Is there any possible way where we can use the inferred relationship as an input in the request?
    Thanks
    Snehal

    Hi SnehalS,
    Two approaches:
    1. If you keep your inferred relationship in Request 2 you should also provide the input data; which is what you apparently want to avoid.
    2. What I mean is probably best explained in the following example:
    Request 1:
    INPUT: 5 Persons (the person) with their age (the person's age), in global via the relationship "the person's"
    the rulebase identifies the children (age < 18) and adds them to the inferred relationship in global (the identified children)
    OUTPUT: the inferred relationship (the children), and all other output data
    Change the Request to use "the children" instead of "the identified children"
    Request 2: n Persons (the person) with their age (the person's age) in global via the relationship "the children"
    the rulebase does its determination
    OUTPUT: as defined for request 2
    Hope this Helps,
    Darko

  • Inferred Relationship examples

    Hi,
    1. I want to understand the use of Inferred relation with a proper example. I want to understand how exactly to write rules using inferred relationship. Please provide with a simple as well as complex use of inferred relationship.. that will help me understand better.
    2. Can we have inferred relationship between any two entities or it is necessary that both the entity be same...
    3. If both entities are different then why use inferred relationship? What is the benefit?How the attributes can be accessed in such a case?
    Please provide an example on this too..
    thanks,
    Rajan

    There are numerous examples and explanations between the documentation, examples which install with the product and on OTN (http://www.oracle.com/technetwork/apps-tech/policy-automation/documentation/index.html). A couple of good starting points are the following topics in the OPM User's Guide (10.4.2): "Define a data model", "Define a relationship" and "Write rules that infer relationships and entities" - it is important to understand the different components of a policy model (also covered in the Oracle University courses on Oracle Policy Modeling).
    To quickly answer a few of your questions:
    - Attributes are associated with an entity not a relationship. Relationships are defined as being between two entities.
    - Inferred relationships can be between any two entities - the entities do not need to be the same.
    - Inferred relationships are used so that relationships can be "inferred" by rules - i.e. if rules dictate when two entities should be related then inferred relationships are necessary.
    For example, determining if a person is considered a member of a household or if a product should be recommended to a person or determining the legal dependents of a person, or determining the preferred replacement products to offer under warranty replacement policies. In other words, there are countless uses and needs for inferred relationships.

  • How to reduce number of output parameters in case of determination engine API

    Hi
    We are using determination engine API to integrate with the third party (OBRM) . In that case all the base/top/intermediate attributes have been sent in xml as output.
    Is there any way to filter out the output parameters as I don't want to send all attributes in output XML.
    Thanks and Regards
    Vandana

    There are the following possible copies of an object that can be made in TopLink.
    - Session cache - copy of object stored in the Session cache, this instance is considered read-only and can be shared. In the case of a shared cache, this copy exists in the ServerSession cache, in the case of an isolated cache, this copy exists in the ClientSession cache.
    This copy can be created whenever a query is executed against a ClientSession, or non-isolated UnitOfWork. To avoid this copy for an update operation, you can query in a UnitOfWork, and set your descriptor's unitOfWorkCacheIsolationLevel to ISOLATE_CACHE_ALWAYS (added in 10.1.3).
    This copy can be created after a inserted object is committed as well. ISOLATE_CACHE_ALWAYS will also avoid this.
    - UnitOfWork working copy. Instance of the object that is modified in the UnitOfWork. This instance must exist as at least one instance is required, unless UpdateAll / DeleteAll / SQL queries are used.
    - UnitOfWork backup copy. This copy is used to track changes to the object. This copy can be avoided if attribute change tracking is used (added in 10.1.3, weaving added in 11g).
    So, it is possible to only have a single copy.
    You can also use a DatabaseSession which only maintains a single copy. You can use Insert and UpdateObjectQuery's, these will update everything and not give you the benefit of change tracking nor a shared cache, but may be useful in batch transactions such as yours.
    -- James : http://www.eclipselink.org

  • Diff between oracle 8i sql Engine and oracle 9i sql Engine

    hi,
    1)Can anyone tell me difference between oracle8i sql engine and 9i sql engine.
    2)Does oracle 9i uses the index defaultly if any primary key is there in table
    Thanks
    Rama

    > 1)Can anyone tell me difference between oracle8i
    sql engine and 9i sql engine.
    They are different versions.
    If you have been expecting a list of differences and enhancements and new product features... forget it. It will take several pages to list. Rather refer to the 9i product feature sheet.
    > 2)Does oracle 9i uses the index defaultly if any
    primary key is there in table
    Huh? Oracle will use an index if it determines that it costs less to use that index to get to the data, than not using an index.

  • Oracle Determinations Engine Data Source Connector for Batch Processing?

    I have been trying to find +"Oracle Determinations Engine Data Source Connector"+. I have OPA 10.2 installed.
    Where can I find this in the installation directory? or Does it not come as a part of the standard installation?

    For 10.4 we have a new runtime which does what the Data Source connector does plus a whole lot more.
    The feature to look for in the new release is the Batch Processor, and you will find the documentation and the application in the Oracle Policy Automation Runtime zip file.
    The documentation has been upgraded and it should be a lot easier to use than the old DSC.
    Cheers
    Frank

  • Rule 168 to work with org structure and not relationships

    Hi,
    I would like to use rule 168 to work with the organizartional structure and not the relationships maintained in PO10 organizational unit.
    this is because i want the agent to be the person with the red hat and not the a002 relationship maintained in organizational unit. i tried using rule 157 but it does the same thing and determines agent based on relationships maintained in org unit.
    basically i dont want the agent to be any of the line mangers which may have been set up, i want it to be the red hat of the org structure
    does anyone know how i can do this, or will i need to delete the relationships between staffing?
    Thanks
    Forhad

    Here is a code example to read from the tables in base to the personnel number emulating the SWE_GET_MANAGER function, I hope this helps. Regards.
    Z GET MANAGER *******************
    ***Gets the position for the creator of the requisition
      clear V_OBJID.
      select single objid into V_OBJID from HRP1001
       where otype  = 'S'        and
              plvar  = '01'       and
              rsign  = 'A'        and
              relat  = '008'      and
              begda  <= sy-datum  and
              endda  >= sy-datum  and
              infty  = '1001'     and
              sclas  = 'US'       and
              sobid  = pt_cont-VALUE+2.
      if sy-subrc = 0.
       valid if the user has personnel number don't proceed to look for the chief
         clear V_OBJID2.
        select single objid into V_OBJID2 from HRP1001
         where otype  = 'S'        and
               objid  = V_OBJID    and
               plvar  = '01'       and
               rsign  = 'A'        and
               relat  = '008'      and
               begda  <= sy-datum  and
               endda  >= sy-datum  and
               infty  = '1001'     and
               sclas  = 'P'.
        if sy-subrc <> 0.
       if the user exist in the correspondant date gets the chief position
          clear V_POS_SOBID_CH.
          select single sobid into V_POS_SOBID_CH from HRP1001
           where otype  = 'S'        and
                 objid  = V_OBJID    and
                 plvar  = '01'       and
                 rsign  = 'A'        and
                 relat  = '002'      and
                 begda  <= sy-datum  and
                 endda  >= sy-datum  and
                 infty  = '1001'     and
                 sclas  = 'S'.
          if sy-subrc = 0.
          if the relationship with a chief position exist gets the chief user id
            clear V_US_SOBID_CH.
            select single sobid into V_US_SOBID_CH from HRP1001
             where otype  = 'S'            and
                   objid  = V_POS_SOBID_CH and
                   plvar  = '01'           and
                   rsign  = 'A'            and
                   relat  = '008'          and
                   begda  <= sy-datum      and
                   endda  >= sy-datum      and
                   infty  = '1001'         and
                   sclas  = 'US'.
            IF sy-subrc = 0.
              clear pt_actor.
              refresh pt_actor.
              pt_actor-otype = 'US'.
              pt_actor-objid = V_US_SOBID_CH.
              append pt_actor.
            endif.
          endif.
        endif.
      endif.
    ***************End of Z GET MANAGER.*****************************

  • How to install LV runtime engine and run .vi's in linux

    I am attemtpting to load run time engine and run a .vi on Linux system.
    Here is what I have done so far.
    1. I don't have rpm on my system (gentoo) so I used the app on the install cd called INSTALL.norpm to install
    labview70-rte-7.0.1.i386.rpm. It looks like it worked, there are a lot of files copied to /usr/local. A couple of .so files and a directory called Labview-7.0 (12M of files). 
    2. Made a test vi on other linux box that has full development system installed (also gentoo but i have rpm on this system).
        Do I need this application builder i keep hearing about to make an .exe or can I run vi's with this run time engine?
        What is the syntax to run a vi in linux?  ./test.vi   ????
        Is application builder a seperate program that I must purchase?
    When I attemp to run a vi I get garbage printing to the console, not unlike when you cat a binary file.
    Any help would be appreciated. Is there instructions somewhare??? A manual perhaps that explains rte install and operation.
    D.A.M.

    You need the application builder to create an exe. The rte by itself will not run a VI. The exe does require the rte. It is possible to create a "loader" program that you can use to run separate VIs but the loader program must be created with the app builder. The app builder is a separate add-on or if you buy the professional version of LabVIEW, it comes included with that.

  • LabVIEW Run Time Engine and ActiveX Automation Server

    Hi,
    I have a question related to LabVIEW Run Time Engine and ActiveX Automation Server:
    We have a tool developed in LabVIEW and TestStand. End user interface is a LabVIEW GUI (it's an executable) which executes TestStand sequences. Some TestStand sequences call lower level LabVIEW VIs.
    Everything works fine with LabVIEW installed, but I was wondering if I could run this tool on deployment machine with only LabVIEW run time engine installed. We are using LabVIEW 6.1 and with only the run time engine installed, I get the error message: "Unable to launch the 'LabVIEW.Application' ActiveX automation server ". 
    BTW, we are planning to upgrade the versions soon.
    Is it possible to make things work only with the run time engine?
    Thank you.

    Thanks for the response, Brian.
    I did upgrade to LabVIEW 8.0 and TestStand 3.5. Everything works fine on the development computer where LabVIEW and TestStand is installed. On the target computer in the lab, I installed LV RTE 8.0 and TestStand 3.5, and now when a VI is called in a sequence file, I get the following:
    RunState.PreviousStep.Result.Error.Code  -18002 
    RunState.PreviousStep.Result.Error.Msg  "LabVIEW: The VI is not executable"
    So, the executable opens and works fine (which means that the LV RTE is installed properly), but when a sequence calls a low level VI, it does not make it through.
    comments/suggestions are appreciated. Thanks.

  • Email links out of Practice Fusion are not active (as they are in IE), which they say is a problem with "something lost in the communication between the Flash engine and the browser". Does anyone have experience with this?

    This is a medical records system, cloud based. I use Firefox to get into the system, but any browser would work. Other than this problem, Firefox works fine (better than IE, in my opinion).
    Patient demographics include their email, which is hyperlinked and should go right to Outlook (my default email program). This works in IE, but nothing happens on the click when using Firefox as the browser.
    I queried Practice Fusion, which replied: In regards to your previous question about the email hyperlink in the patient information, it looks this is not something that can be fixed on our end right now. It is the web browsers' responsibility to handle these types of links, and there seems to be something lost in the communication between the Flash engine and the browser. I apologize for any inconvenience.
    Thanks for any help anyone can provide.

    See if this helps you:
    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • J2SE adapter engine and SSL testing

    Hi there,
    We are currently doing a B2B scenario whereby SAP XI sends a message to the J2SE adapter engine in the DMZ and then that sends the message via HTTPS / SSL to the receiving service....
    In order to test that the HTTPS / certificate etc worked I wrote a small Java application and dialled out of the network. I inserted the DER file into my CACERTS file on my local machine using the keytool as a "trusted certificate". The Java application worked 100% and did the SSL handshake fine and POSTED the data fine as well......
    Now I am no expert in the J2SE adapter engine but decided to try testing the same SSL connection using the J2SE adapter engine from my LOCAL machine with me dialled out onto the Internet.
    I logged into the J2SE adapter engine and imported the same DER file into the engine  (actually inserted into the "truststore.jks" file). I them went into the "Test Environment" of the J2SE adapter and have been trying to test.....
    I have a few questions:
    1. Do I have to use a P12 or PFX file for this sort of communication? Reason I ask is that with the Java application all I needed was the DER file?
    2. In the full blown scenario do I have to have SSL configured between XI and the J2SE adapter engine as well? Or can that stay as HTTP?
    My basic config for the test is roughly:
    WS.targetURL=https://someserver:4433/soap/someInbox
    WS.SOAPAction=CustomSoapAction
    SSLauthentication=true
    Do I really need the following two?
    SSLcertificate=somecert.p12
    SSLcertificatePassword=somepassword
    From my logic all I should need if the DER file loaded into the J2SE adapter which I have done......
    Has anyone done successfull SSL / HTTPS testing from the J2SE adapter engine using the "Test Environment"?
    Any advise would be greatly appreciated
    Kind regards
    Lynton

    Hi
    Not a answer to your question but why use the J2SE adapter engine in the DMZ and why not the J2EE Decentral Adapter Engine?
    Regards
    Bhavesh

  • FAQ: What are CUDA and the Mercury Playback Engine, and how do I use them?

    See these articles:
    CUDA, Mercury Playback Engine, and Adobe Premiere Pro
    Adobe Premiere Pro CS5.5 improvements in CUDA processing and the Mercury Playback Engine
    ... and these movies:
    GPU: CUDA
    The Mercury Playback Engine: CUDA Improvements

    The easiest graphical way I would recommend is to search for an example "whats new in yosemite" on youtube, I am sure you will find lots of videos on that.

  • I am going to university this fall for engineering and I was wondering which macbook pro (13 or 15 inch) would be better.

    I am going to university this fall for engineering and I was wondering which macbook pro (13 or 15 inch) would be better. Is the larger screen worth the extra weight ? I will be doing some computer programming and I feel like reading code on a smaller screen could be a bit of a pain. Also, what is the best option in terms of backup? I don't anticipate having a lot of video but I will have some pictures, music files as well as regular documents and spreadsheets. I'd also like to get an idea of how good the battery life is. Thanks in advance:)

    The 13" will do the trick for what you describe as your needs, Be sure to consider how you will backup your data -- need an external drive?
    Also be sure to check with your college or division of study to see what they recommend. If they are hostile to Macs, you may be on your own for finding support. But in most major cities, that will not be too hard.

  • Types of special G/L transactions and their relationship to the GL

    Dear all,
    I don't understand about the difference between three types of special GL transaction ( Free offsetting entry, statistical offsetting entry, and Noted items ) and their relationship to the GL.
    Please tell me about accounting entries, accounting process per type and give me some detail examples per type to use in system SAP
    guide me step by step
    and tell me how to configure it
    Thank in advance
    Minh

    Hi,
    Please make Down Payment request and then make Down Payment then make Invoice and then clear the Down Payment. If any balance is left over make incoming payment through F-28 and here u need to select the downpayment document also.
    If no incoming payment is there u use F-03 and clear the documents manually.
    Regards
    balaji

  • Separate document no. for SD revision document and detagging relationship between invoice and SD document no.

    HI,
    Country specific settings for India - Business transactions enables SD revision vide table TE872_SDCTRL_IND.
    Whenever SD revision takes place system issue similar document no. as that of invoice and tagged it with XBLNR as per standard process.
    Now issue that if that invoice is reversed, subsequent SD also gets reversed.
    So business requires to have separate document no. for SD revision document and detagged relationship between invoice and SD document no.
    I have explored event R507, 0010, 0060 and R436 but couldn't find input structure where such separate document can be assigned.
    So can you provide hint which can assist in issue resolution?
    Regards,
    Paresh

    Check this thread, if this helps.
    [url] Link between MKPF table and EKKO or RBKP table [url]
    I've done this as well earlier to create a custom document flow for archived documents where from the EBELN i've found all the related documents. Hope this helps.

Maybe you are looking for