Support for creating entity instances through rules

Hi,
Is there support to generate an instance of an entity purely through rules? For example, if I have an entity called "VerificationItems", can I write a rule in OPA that will one instance of this entity per verification item that the applicant needs to produce (like one instance for address proof, one instance for SSN etc).
Thanks
Sam

Hi Sam,
Thanks! No problem. I understand completely your perspective, especially about the integration stuff.
In case more detail helps:
Each "action" we have has a clear naming structure and actually they all get aggregated up to global in the end using Exists() if the action is on a child entity. They are called action_1 to action_N where N is the total actions in the active delivery. The rule developers update this each time a release is completed.
N is a value set in the rulebase that the calling system can have access to, e.g. N=20. The calling system would then know to look in the response field the value of action_1 through to action_20, and do some further processing based on this. So if action_7 meant at "at least one address needs verifying", it would then look at the address instances returned in the response, and see which one(s) have address_action_7 also set. Both systems are aware of what the actions "are", but OPA contains all of the legal / business rules as to when that action should be raised, and the calling system interprets this and sorts out / transforms the data.
This works well and in terms of performance is optimised, but that said we will be looking at 10.4 and seeing what advantages it could bring over this approach.
Good luck with the implementation!
Cheers,
Ben

Similar Messages

  • Clarify a Limitation for Inferred Entity Instances

    Hi,
    Under the section "Write rules that infer relationships and entities" in the User Guide there is the
    Notes /Limitations
    1) Combining manually created instances with inferred instances is not allowed.
    2) Combining inferred entity instances with temporal values is not supported.
    3) Only a single attribute of the entity instance can be inferred as a part of the entity rule. For example, the type of benefit ("unemployment benefit") can be set but the amount of the benefit would have to be set via a separate rule.
    4) Inferred entity instances may not contain base level attributes.
    5) A relationship that participates in an inferred entity instance rule is considered to be an inferred relationship. This means that an inferred relationship rule cannot be used to prove the same relationship used in an inferred entity instance rule.
    Can number 4 be explained in a little more detail?
    Thanks

    I'm not sure I understand the question so I'm going to guess what you're asking by suggesting a business scenario and talk about how that would work. It is always much easier to talk about a specific business requirement you have rather than product features in general - so if you have a specific requirement I strongly recommend sharing it as you'll get better quality help.
    Anyway, if we keep our existing example of an inferred entity "the product" (has attributes: the name of the product, the price of the product). Say we want to know want the price of the most expensive product you have selected (a concept which would be represented by an attribute at the global level).
    You can do that. The rules to do that are just the same as the rules you'd use if instead of inferring the products and prices you instead asked the user to provide them (ie instancemaximum across a relationship). I'd send an example showing these rules - but it's not possible to attach files to this forum. You use inferred entities in the rest of your rules as if they had been input by a user - there's no difference. The key difference between an inferred entity and a non-inferred entity is that you can't collect more information about it (ie it can't have any base level attributes).
    You can use any attribute in a rule so long as the usage of the attribute matches the entity level of the conclusion. ie You couldn't use "the price of the product" directly in a rule with a conclusion at the global level - because you revert to the problem of "the price of which product?".
    On the off chance that this is somehow a "programmer" question (ie you're trying to understand how OPA works by treating it the same as another method for creating programs, for example a programming language like Java) - attributes in OPA don't have a concept of "private" and "public". If I tried to put OPA In those terms (and it's a stretch because OPA is not Java) - in OPA: everything is public (declare once use everywhere). An entity model in OPA is different thing to a class hierarchy.

  • Privileges for creating DB objects through portal

    All,
    I am a portal administrator and want to give portal access to a developer to create their own portal page against their own db schema. They would like to create db objects through the portal interface (i.e. tables).
    My question:
    What privileges/grants/roles do I need to give them to create db objects? Do I need to give them the DBA role? Do they need "Full Administrator" privileges within portal?
    Thanks,
    Jon.

    Sorry, your question is not very clear. From what I got:
    You want the privilege to be able to create DB Objects. For that:
    you just need an End-User with "Manage" privilege on any of the "Schema".

  • Is Their Any Support For Data Aware Routing Through The Coherence DataGrid?

    Hi all,
    Following paragraph describes the feature i m looking for(*Data Aware Nodes*)......
    The Function Service can transparently route behavior to one or more nodes in the cluster. In the case of Data Aware Functions, the behavior can be directly routed to the node(s) that hosts the data needed to execute the function in parallel, stream and aggregate the results substantially reducing the time taken to execute complex data intensive tasks.
    So please tell me is their any support for above said question. If this feature is their in coherence please help me with it's configuration and implementation as well.
    Thanx

    Hi JK thank you for your reply
    I want to achieve Data Aware Routing in Parallel Execution (Parallel Function Execution).
    Consider a case where i have three nodes (say Node A,B C) in coherence cluster with partitioned scheme. Now suppose we have Employee related objects stored in cache of Node A and Node C only, but not on Node B. Then i want to perform some operation on Employee objects only in parallel fashion.
    In coherence i ll achieve this using map.invokeAll(collectionKeys, agent);_ from client program.
    Now my question to you is, as my operations are based on Employee objects only which are stored on Node A & c. Then When i request parallel Execution from client program which will connect to Node A from our cluster, will it go to Node B where their is no Employee objects ??????
    Edited by: 981644 on Mar 6, 2013 7:52 PM

  • Issue At the time of Creating ASM instance through DBCA For 11g RAC  db :

    Hi,
    I have configured two node RAC with OEL5.
    I have installed below software successfully under different home locations.
    1) Clusterware :
    2) ASM
    3) Database
    I want to run ASM instance under separate home but when i am executing dbca from ASM home location to create asm i am facing a problem which is not traceable by me. Please help me if any body has any idea on it.
    Problem:
    Sometime(displayed below) ASM instance is running from node 1 and some times from node 2. At a time ASM in both instance is not in online state. At the end dbca is displaying ORA-01034: ORACLE not available. Please let me know what may be the exact reason for this.
    1) State 1
    Name Type Target State Host
    ora....SM1.asm application ONLINE ONLINE mac1
    ora....C1.lsnr application ONLINE ONLINE mac1
    ora.mac1.gsd application ONLINE ONLINE mac1
    ora.mac1.ons application ONLINE ONLINE mac1
    ora.mac1.vip application ONLINE ONLINE mac1
    ora....SM2.asm application ONLINE OFFLINE
    ora....C2.lsnr application ONLINE ONLINE mac2
    ora.mac2.gsd application ONLINE ONLINE mac2
    ora.mac2.ons application ONLINE ONLINE mac2
    ora.mac2.vip application ONLINE ONLINE mac2
    2)Name Type Target State Host
    ora....SM1.asm application ONLINE OFFLINE
    ora....C1.lsnr application ONLINE ONLINE mac1
    ora.mac1.gsd application ONLINE ONLINE mac1
    ora.mac1.ons application ONLINE ONLINE mac1
    ora.mac1.vip application ONLINE ONLINE mac1
    ora....SM2.asm application ONLINE ONLINE mac2
    ora....C2.lsnr application ONLINE ONLINE mac2
    ora.mac2.gsd application ONLINE ONLINE mac2
    ora.mac2.ons application ONLINE ONLINE mac2
    ora.mac2.vip application ONLINE ONLINE mac2
    With Regards,
    SNP

    Yes you are right , I have to make to sure stock budget doesn't get credited.
    If you remember in one of my other threads, i wanted to derive commitment item from Matl grp, it was for this purpose. I will derive commitment through matl group at the time of procurement / GR etc and assign a dummy commitment item to stock a/cs. Where as i will derive a consumption commiment item from consumption GLs.
    Thank you
    Chris

  • Support for weak entity tags....

    Hi All,
    Is there is a way to return weak entity tags with objects in the
    enterprise server. I would like to use this as weak entity tags which
    may lead to a more efficient caching scheme. If it is supported please
    help as to how this is configured....
    Thanks,
    Jack.

    Hi Sam,
    Thanks! No problem. I understand completely your perspective, especially about the integration stuff.
    In case more detail helps:
    Each "action" we have has a clear naming structure and actually they all get aggregated up to global in the end using Exists() if the action is on a child entity. They are called action_1 to action_N where N is the total actions in the active delivery. The rule developers update this each time a release is completed.
    N is a value set in the rulebase that the calling system can have access to, e.g. N=20. The calling system would then know to look in the response field the value of action_1 through to action_20, and do some further processing based on this. So if action_7 meant at "at least one address needs verifying", it would then look at the address instances returned in the response, and see which one(s) have address_action_7 also set. Both systems are aware of what the actions "are", but OPA contains all of the legal / business rules as to when that action should be raised, and the calling system interprets this and sorts out / transforms the data.
    This works well and in terms of performance is optimised, but that said we will be looking at 10.4 and seeing what advantages it could bring over this approach.
    Good luck with the implementation!
    Cheers,
    Ben

  • Parameterized support for multiple database instances in CR 4 Eclipse

    Issue with Database Schemas and Crystal Reports
    When building a report with Crystal Reports, the user is required to enter database connectivity information.  This database information allows the user to select which tables the information for the report will come from.  When choosing the tables, the user must navigate through the available database schemas in the database connection to each table that is required.  The database structure is described below:
    Database Connector 1
    Schema1
    Schema2
    Table1
    Table2
    Table3
    Schema3
    After the user has selected the appropriate tables, they are allowed to begin building the report.  The user puts the necessary table fields onto the report.  Crystal Reports uses only the required fields on the report to build a query to the database for retrieving the data.  Thus, the fewer the fields on the report, the less information required.  A single query is built by Crystal Reports to get all the data from the database.  This query can be viewed from within the Crystal Reports application, but it cannot be changed by the user.
    When viewing the query generated by Crystal Reports, you will notice that the tables will have the schema name attached to them.  This is done as part of the fully qualified name of the table.
    Processing a Crystal Reports report in a batch environment requires that the database connector that is stored inside the report be changed.  This change is necessary due to the setup of our system.  The name of the database server, the database username and the database password are different in the different execution environments.  Our current implementation is to programmatically change these values before running the report.
    The issue arises in that changing the database connector does not change the schema of the tables used in the query.  The schema information in the query is hardcoded.  Thus, when moving the reports from one environment to another, the original schema used is being propogated to the new environment, where the original schema is not appropriate.
    Changing the database connector will, however, change the schema of the tables used in the field selector.  Any field that is used from the field selector on the report or in formulas will change appropriately.  But the fields used to create the initial query will not change.
    The results of the schema not being changed appropriately in the query is when the report is attempting to populate with the Java environment, an exception is thrown and processing is terminated.  When the exception is thrown, the entire process of populating the report is terminated.
    Anyone know a solution to this?
    Erik Bleifield

    Well, CSV would not be a preferred option.
    We need to get the output to a report archive that only supports ascii text. We are hoping to preserve the output formatting of columns, etc. CSV would not preserve the formatting.
    We are currently looking at outputting to PDF and then running a 3rd party product to convert from PDF to text. This leads to a good amount of formatting issues as well.
    Why would exporting to text not be supported in Java? Where one can execute this manually in CR 2008 for Windows.
    I wonder if this is intentional by product management choice - or a defect?
    Thanks for further consideration.
    Erik

  • Create new instance through global interactive activity

    Hi All,
    I have a requirement where when instance is completed, I need to provide a link at instance end through global interactive activity. Once user clicks on that activity a screen appears where user clicks on button and new instance should be created.
    Now the problem is I tried notifying the main process and then use process creation activity to create instance but this cannot be used as instance is already completed.
    Second approach i used is processinstance.create method. But new insatnce is not getting created. Also i m not getting any exception.
    Please reply as this is very important requirement.
    Regards,
    Yasmin

    Create a new instance before the END activity is executed..
    After the screenflow for the global activity pass a variable to collect the button value on ON CLICK..
    If button value = true, then call a sub-process else END.. The sub-process does not need any Global activity to start the process . The values would be passed from the BEGIN activity of the sub-process itself.

  • Support for Creating Web Service from pl/sql package in JDeveloper 11

    We have been creating all of our web services from pl/sql packages in our Oracle database using JDeveloper 10.1.3.1. I understand that this capability is not supported in Jdev 11. We have been mandated to either move up to JDeveloper 11, or consider switching to eclipse, or even VS2008 and run .NET services from IIS. I have seen work-around solutions using TopLink and Jdev 11. Are there plans to revive this feature in the near future? We're now looking at switching to .NET since we could scrap our OAS instances and use IIS to publish web services. The only reason we were sticking with Oracle was the ease in converting all our existing package to web services with Jdev.
    Is anyone else in the same situation. If so, what solutions are you considering?

    Hi,
    there are a lot of option to make plsql web services .
    First you can stay with jdev 10.1.3
    Use the xmldb servlets
    use jdev 11g tp4 to create plsql ws and upgrade to jdev 11g production
    And I think in the next release of jdev it will be back , there are more options which disappeared like the adf bc sdo ws or jmx datacontrol etc.
    thanks Edwin

  • Unix:  Any support for creating com objects?

    I'm looking into migrating a CF 8 server from Windows to
    Unix. I see in the documentation for CreateObject that com objects
    are not supported on Unix, "Note: On UNIX, this function does not
    support COM objects."
    Obviously, this won't work on Unix: Note:
    <cfset image = CreateObject( 'com', 'ImageStoreCom.Image'
    )>
    But what about this, can I create a remote com object?:
    <!-- assume '172.0.0.1' is a windows machine with a
    registered com object on it -->
    <cfset image = CreateObject( 'com',
    'ImageStoreCom.Image', 'remote', '172.0.0.1' )
    Finally, if the example above is out of the question, are
    then any techniques for exposing a com object to CF on a Unix box?
    I'm wondering if maybe I could write a Java wrapper for the com
    object and expose it that way?
    Thanks for your help,
    DJ

    <ShotInTheDark>You might try wrapping your COM object
    in a .NET class then accessing your .NET class
    remotely.</ShotInTheDark>
    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet_02.html#1160020

  • BE6k support for 2 UCCX instances?

                       Hello all, can anyone tell me if the BE6k BU supports 2 instances of UCCX on a BE6k?  We have a customer with 40 agents in TX and 15 in CA and they currently have 2 UCCX systems.  They only have 300 users in total and I wanted to migrate them to BE6k and add 25 additional users with the base bundle. They currently have separate UCCX systems in CA and TX.    Can you confirm if TAC will support BE6k with 2 UCCX systems supporting a total of 55 concurrent agents?  Do they have to combine their contact centers to a single UCCX instance to migrate to BE6k?
    Thanks much,
    Patty

    Hi Patty,
    For a fully supported BE6000 installation, only one CCX is allowed (allowing up to 100 agents).
    However, under the extended terms of the hypervisor user policy (See the Co-residency policy), additional instances could be installed.
    If possible, I'd recommend consolidation of instances in this case.
    Hope that helps,
    Andy

  • Support for ipfw Layer 2 firewall rules

    Hello!
    I've researched this and checked using sysctl and it appears that Apple's implementation of ipfw does not support layer 2 checks.  Two questions for the crowd:
    1) Can you confirm this?
    2) Does anyone know why Apple does not support layer 2 checks?
    Thanks.
    Tim

    look here: http://krypted.com/mac-os-x/a-cheat-sheet-for-using-pf-in-os-x-lion-and-up/

  • OVM support for NPIV and pass through disks

    Hi Gurus,
    I have a couple of questions -
    1) Does OVM support NPIV?
    2) Does mapping the physical disks via the phy: definition in the vm.cfg file equivalent of pass through disks to the guest OS?.
    thanks!
    Gak

    avasek wrote:
    Thanks!. The pass through question was actually in context of usage with snap* products from netapp as they work with VMware. All the snap* work with RDM's in VM's (pass through's), so i was wondering if the snap* could be made to work with the phy: def to the VM's as well. The RDM def should be equivalent of the phy: def ..right?. So ideally, they ought to work?No idea, to be honest -- I haven't worked with NetApp gear yet. You're probably better off checking with NetApp directly as well.

  • Does Firefox not have support for unparsed-entity-url() (XSLT stylesheet), if not is there a plan to implement it?

    We support a site that generates pages based on XML and XSLT where XSLT uses unparsed-entity-url() but it dont seem to work in Firefox.

    By posting on the forum you are asking the wrong people. We are Apple users, not employees. If you want to provide this feedback directly to Apple you should leave the feedback at:
    http://www.apple.com/feedback/iphone.html

  • Creating New Entity Instances within OPA

    This is another one that I think I know the answer to, but I think it is best to confirm.
    In prior versions, it was not possible to create entity instances within RuleBurst/Haley Office Rules. Is that still the case in OPA?
    For example, my rules are determining the status of a case and the reason(s) why that status was determined. The case status may be Denied and the reasons may be "invalid customer Id", "expenses to income ratio too high", "primary customer not employed long enough", etc. I want to return all the reasons for the status. While the list of reasons is pre-determined, the ones that apply to a particular case are dynamic, as any, but not all can apply.
    Given this situation using a database, I would create an instance of reason for each applicable one and link it to the case. In the past, with OPA's predecessor(s), it was not possible to create new instances from within. They either had to all be passed into the rulebase or a list of all allowable reasons attributes had to be created and then set to true for the ones that applied.
    My preference is to create the instances inside OPA. Is that functionality provided in the current version?
    Thanks,
    Terry

    Hi Terry,
    Michael is correct that you can't write rules at design time which will dynamically create new entity instances at runtime. However, perhaps the new inferred relationships functionality in v10 could address what you're trying to do.
    You can write rules which conclude membership of an inferred relationship. So you might always have, say, 10 instances of 'the reason' in every case, but as for which of those instances apply in any particular case, it depends on the details of the case. You could use an inferred relationship to collect up the entity instances which apply in the case.
    First you'd need to set up a regular one-to-many relationship to instantiate the 10 instances at runtime - this would be done in the usual way. Then you'd also need to set up an inferred relationship and write rules to conclude the members of the inferred relationship. The instances which are members of the inferred relationship are then effectively the list of entity instances you wanted to create in your example above.
    Have a look at this OPM Help article: http://www.oracle.com/technology/products/applications/policy-automation/help/opm10_1/Content/Rules%20using%20entity%20instances/Reason_about_relship_between_2_entities.htm
    Cheers,
    Jasmine

Maybe you are looking for