Oracle Business Rules Question

Hi,
I'm pretty new with Oracle Rules. I've had no trouble using them, to date. I define Java classes, set up the facts in Rules Author, and create the Dictionary, Ruleset, and rules... etc.
I can run them fine, and the technology works as expected. My question is... what if my underlying data structures for the facts (the java class(es) in my case) change?
From what I see with the Rules Author tool, there isn't an obvious way to sync up the underlying fact with events on the ground. I can see there would be a really good reason for not allowing attributes/methods/props to be removed (without redoing (some of???) the rulesets/rules)... but I am really interested in the ability for adding methods/attributes/etc to the underlying structures without rework.
Here is my use case: I set up an initial fact and a ruleset for our clients with which to build rules. They add 500 rules. They now request the "fact" include another "new" attribute to be available in all new rules. Do I have to start over, and redo the 500 rules to accommodate the new attribute? There must be something which eases the pain... but I haven't found it yet.
Any help in this issue would be most appreciated!
Thanks,
Dan

Thanks for the reply. I guess I was making it more difficult than it deserved. I've been trying to "re" import... and never tried to import over the fact I already had.
Thanks!

Similar Messages

  • How to use  create & ruleExecutionSet in oracle business rules

    I am trying to run the demo example of oracle business rule (car demo) using
    ruleExecutionSet.
    What are the changes thet i have to made in example in order to create & use the ruleExecutionSet to run the car demo .
    with regards
    saleem khan

    you are in the Oracle Forms Forum and your question is related to JDeveloper and Crystal Reports, you think those two are linked to Oracle Forms in anyway??
    Please post your questions in the appropriate Forum.
    Tony

  • Oracle Rules Manager vs Oracle Business Rules

    Hi
    Can someone explain the difference between Oracle Rules Manager and Oracle Business Rules.
    Is Oracle Promoting both the products?
    What I understand is that Oracle Rules Manager comes a part of the Oracle Database 10g R2 (and 11g) and Oracle Business Rules is a part of the SOA suite.
    Is there any difference in the positioning of both these products?
    Our client is evaluating various Rules engines in the market and we want to make sure that we choose the correct product.
    Thanks, Srini

    Igor S. wrote:
    He solves the same problem with rules and without. My question was what would be better? Why would you chose one over the other. I prefer rules that is easy to state, easy to read, and easy to implement. Clear text rules in Prolog being a firm favourite. :-)
    Using a rules engine, with a fairly complex API, in order to define rules? I would want very sound and very robust justification for that.
    Taking this EMP table example. If there is a single AddEmp() PL/SQL procedure interface for adding employees, it is simple matter to see what it does, how it does that, and test and debug that. The only knowledge needed is the ability to read and understand the source code. The same cannot be said of rules engines.
    As for the issue of updating AddEmp() with new rules. Edition redefinition takes care of versioning database objects. And in a far more controlled fashion than dealing with a rules engine that is dynamically update now! while the database is in use - and you have no real idea or real control over when exactly now! was.

  • Oracle RDF and Oracle Business Rules & Protege

    A couple of questions:
    1.) Has anyone used Protege to create frame-based ontologies which can somehow be used with Oracle Business Rules?
    2.) Has anyone used Protege along with the RDF storage functionality in Oracle?
    Thanks.

    Melli,
    I just started with semantic so won't have many useful ideas for at least some time.
    mostly there will be bugs and misunderstanding on my part.
    At this point i do see that the supplied library is not working properly . see my other thread. Fixing that would be really helpful.
    Let me know
    As of Composer - well let's just say its cost ineffective for organization to use on pilot project..

  • Query on handling else condition in Oracle Business Rules.

    Hi all.
    I am working on Jdeveloper 11.1.1.1.0 Business Rules. While creating rules... i am able to write if conditions around the facts and attributes and also replicate the same using decision tables and is able to derive the action.
    My Question is.. can i write an else condition which should be executed when none of the if condition are matched. If we can how... Instead of else condition, is there any way that we can initialize the facts and attributes to be derived to a default value.
    Please help me guys in this... If this is not the right foru,... please redirect me to the correct one.. coz i couldnt find a forum for oracle business rules..
    Thanks
    Eldho

    Thanks a lot for the response..
    I have posted the query in
    Query on handling else condition in Oracle Business Rules.
    Thanks
    Eldho

  • Oracle Business Rules with BPM

    Hi
    Please explain how to use Oracle Business Rules in Oracle BPM enterprise and Oracle BPM studio.
    Also please provide links for documents if available.
    Thanks in advance

    Hi,
    It's a good question for which I do not have the answer! I would also want to see some documentation or insights about the integration of OBR and BPM. Will be monitoring this thread.
    Thanks in advance

  • JHeadstart, Oracle Business Rules and BPEL Process Manager

    Dear JHeadstart Team,
    I have some questions regarding integration of JHeadstart and Oracle Business Rules and Oracle BPEL Process Manager. As a matter of fact I don't have any work expriences with these tools so my questions may not be good and precise.
    1- Using a business rule engine can dramatically increase speed of development and ease of maintenance.I had a very good exprience in using JHeadstart and Headstart in the past but I wanted to know if it is possible to use Oracle Business Rules in conjunction with the JHeadstart ? If so, What steps should be taken? Is there any known issue about this integration? Does Oracle Business Rules have any interference with JHeadstart or it is only used in model layer during insert,update,delete?
    2- Is it possible to develope a system based on oracle work flow engine (Oracle BPEL Process Manager) using JHeadstart ? If so, What steps should be taken and how the changes in the flow of work would by applyed in a system developed by JHeadstart. Is there any known issue about this integration?
    Any help,link to documents or general guidelines would be highly appreciated.
    Thanks in advance,
    Navid

    Couple of things I would like to add, are the following.
    In the context of an ADF application usage of Oracle Business Rules most likely is in the business logic layer, but mind that it does not need to be restricted to that.
    Oracle Business Rules takes so called 'facts' as input, evaluates some rules based on that and change those facts or return some result. That might be checking a business rule as defined in the JHeadstart Developers Guide. But it might also return some value that is used in a navigation rule.
    Think about a page flow where after page A normally page C is presentend, but in case of some situation (like a customer ordered something and you want to present some special offering based on that) you want page B presented in between (i.e. A -> B -> C). Oracle Rules could be used to determine this page flow. This would be an example of using it in the controller layer (probably in combination with using facts that come from the model layer).
    Another remark that I would like to make, is that in my opinion it does not make much sense to use Oracle Rules for business rules that logically more or less are part of your data model (like end date must be on or after begin date). You typically use Oracle Rules to implement business rules that are of a volatile nature, meaning that day-to-day business may require a change of the rules. One example is the navigation case that I mentioned before. Another (typical) example would be a rule that defines when a customer is a Gold customer.
    Jan Kettenis

  • Oracle Business Rule Exception during deployment

    Hi Experts,
    We implemented the OBR(Oracle Business Rules) within CEP and I always encounter a strange behavior. For some reason, I always encounter this error:
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: UndefinedException: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    Apr 8, 2011 3:15:10 PM oracle.rules.rl.RuleSession logIt
    SEVERE: UndefinedException: symbol 'oracle.rules.rl.xpath.Step' is undefined
    at line 1 column 12 in main
    <Apr 8, 2011 3:15:10 PM PHT> <Error> <com.nsn.cvo.ingestion.callscenario.bean.OBRExecuteBean> <BEA-000000> <oracle.rules.sdk2.exception.SDKException: RUL-05187: error getting a rule session from decision point rule session pool.
    >
    After restarting CEP, OBR is running perfectly. I am not sure how to resolve this issue and need your guidance on how to prevent this from happening. My java source source code is below: The initializeDecisionEngine is called only once. My input to OBR is a java.util.Map(this is a requirement and can't do anything about it).
    private String rulesPath;
    private RuleDictionary ruleDictionary;
    private DecisionPointInstance decisionPointInstance;
    private String decisionFunctionName = "decisionFunctionName";
    private void initializeDecisionEngine() {
              try {
                   if (rulesPath == null) {
                        return;
                   if (decisionPointInstance == null) {
                        ruleDictionary = this.loadRuleDictionary(rulesPath);
                        DecisionPoint decisionPoint = new DecisionPointBuilder().with(
                                  decisionFunctionName).with(ruleDictionary).build();
                        decisionPointInstance = decisionPoint.getInstance();
                        System.out.println("INIT() OUT");
              } catch (SDKException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    private RuleDictionary loadRuleDictionary(String path) {
              System.out.println("loading dictionary from path: " + path);
              RuleDictionary dict = null;
              Reader reader = null;
              try {
                   reader = new FileReader(new File(path));
    dict = RuleDictionary.readDictionary(reader, new DecisionPointDictionaryFinder(null));
                   List<SDKWarning> warnings = new ArrayList<SDKWarning>();
                   dict.update(warnings);
                   if (warnings.size() > 0) {
                        log.error("Validation warnings: " + warnings);
              } catch (SDKException e) {
                   log.error(e);
              } catch (FileNotFoundException e) {
                   log.error(e);
              } catch (IOException e) {
              } finally {
                   if (reader != null) {
                        try {
                             reader.close();
                        } catch (IOException ioe) {
                             ioe.printStackTrace();
              return dict;
    private executeOBRRule(){
    Map<String, String> mapEntry = new HashMap<String, String>();
    mapEntry.put("column1", "value1");
    mapEntry.put("column2", "value2");
    mapEntry.put("column3", "value3");
    if (decisionPointInstance != null) {
                   decisionPointInstance.clearInputs();
                   // decisionPointInstance.
                   List<Object> list = new ArrayList<Object>();
                   list.add(mapEntry); <--- Adding the map to a list since it is the only allowed input for OBR, or is there any other way other than list? -->
                   decisionPointInstance.setInputs(list);
    Object obj = decisionPointInstance.invoke();  <<<<<< this is where the exception is raised.
    My question is that why is the exception is being raised and sometimes it is not. My only resolution is to restart CEP server. Am I missing something? My obr rule file is ok since it does not display any error during compilation. If you can guide me to the correct path, I will really appreciate it.
    Regards,
    Russel

    Is this problem resolved?
    If so it would be greatly helpful if you could provide the solution.
    Regards,
    Nigel.

  • Oracle Business Rules :  File Type Rules Repository Creation Problem

    Hi Gurus,
    I am trying to create File Type Rules Repository(SOA Suite 10.1.3.3).
    As per the documentation:user Guide
    Oracle Business Rules supplies a blank file repository that does not contain a dictionary. This file repository is named "emptyFileRepository" and is located in the
    $ORACLE_HOME/rules/lib directory.To setup a new file repository, copy and rename the emptyFileRepository file.
    Then, provide this file name and location in the Repository Connect page
    I did the same thing.I copied the emptyFileRepository and renamed the file.After giving the file location and click on the Create button it is throwing the error "Please provide a valid directory path." Please Help me to fix this.
    The same kind of the question was posted on the same forum which was un answered.Please guide me to fix the problem.I googled a lot but no help found.
    please route me to proper source.
    Thanks in advance..
    Regards,
    ravi

    I was able to create repository for business rules few weeks ago perhaps I was using an old version of the firefox, now I upgraded to firefox 3.5.7 and get the same error. IE 7 hangs, did you get a solution yet?
    I am planning to downgrade my firefox and give it a try. Please update if you find a fix.

  • Oracle Rule Author(Oracle Business Rules)

    Hi,
    Iam implementing Oracle Business Rules, while configuring rules with Rule Author, a problem is faced, a variable data which is set in one rule's action is not available to next rule's condition.
    i.e a variable set in one rule can not be used in other rule as condition.
    Is there any option to make it work,
    thanks & regards.
    anil

    I think you would get better response on the question if you post the same question to the SOA Suite forum (SOA Suite
    A

  • Extracting details from oracle business rule repository

    Hi,
    Which of the oracle business rule APIs provide retrieving following details :
    1. Get all dictionaries stored in the oracle business rule repository.
    2. in each dictionary,
    2.1. How to retrieve all ruleset list in a rulesets
    2.2 How to retrieve all rules in each ruleset
    This is because, I want to build a custom UI to display the rule details in the oracle business rule repository. In my case, dictionary, ruleset in a dictionary and rules in a ruleset are dynamic (administrator can add, update delete at ant time via rule author UI)
    Appreciate your help.
    Thanks
    Hareendra

    Hi Hareendra,
    I think you should post your question in this other forum:
    Forum Home » SOA & Process Management » SOA Suite
    Oracle Business Rules is a component used in SOA Suite
    Regards!
    Jorge

  • ODI and Oracle Business Rules

    Hi, I have a question that hopefully someone can give light to.
    Our current requirement for an ODI solution is to have business users create or edit rules (not just table constraints, but actual complex business process rules) that they would like to apply to the data during integration. I was thinking of two possibilities for this:
    1. Load a rule file in ODI and then execute the rules in ODI.
    2. Use Oracle Business Rule.
    Between the two options, which is most likely possible? I have yet to fully explore ODI so I'm not sure if both of these options are feasible. If not, can someone give me sound ideas to work on for this requirement?
    Thanks,
    Jason

    Melli,
    I just started with semantic so won't have many useful ideas for at least some time.
    mostly there will be bugs and misunderstanding on my part.
    At this point i do see that the supplied library is not working properly . see my other thread. Fixing that would be really helpful.
    Let me know
    As of Composer - well let's just say its cost ineffective for organization to use on pilot project..

  • Ruleauthor.ear and rulehelp.ear for Oracle Business Rules

    I'm following the instructions for installing Oracle Business Rules in Standalone OC4J. The instructions say you need to get files (in the subject line of this thread) from the full Oracle App Server install.
    This was a bit of a surprise because I'm interested in running OBR without installing the full 10.1.3 App Server (which is, of course, why I'm following the instructions to install on Standalone OC4J).
    The files are in the Oracle App Server install directory (for "Disk 1") inside this file:
    ..\stage\Components\oracle.rules\10.1.3.0.0\1\DataFiles\common.jarMy question is: are there any other dependencies to the full Oracle App Server for running Oracle Business Rules in a Standalone OC4J?
    Thanks,

    Hi Ram,
    You can download it from here -
    For 10g,
    http://www.oracle.com/technology/software/products/ias/htdocs/101310.html (section - Oracle SOA Suite 10g (10.1.3.x))
    For 11g,
    http://www.oracle.com/technology/software/products/middleware/htdocs/fmw_11_download.html (section - SOA Suite (11.1.1.3.0) Business Process Management (11.1.1.3.0))
    Regards,
    Anuj

  • Oracle Business Rules decision tables - export

    This is a beginner's question.. Suppose that you want to use an Oracle Business Rules (OBR) decision table, for example to check company’s eligibility for financing based on their country and business type (PRIVATE or PUBLIC). You would define a corresponding decision table in JDeveloper with true/false assignments in the Actions. Is it possible to export this decision table somehow? Ideally we would want to have a web service returning the decision table data as XML, which would then be used to generate PDF or a dynamic webpage etc. Then we would have OBR as the only point of data entry.

    I moved this to "SOA Suite and OC4J 11g Technology Preview"
    Business Rules - Decision Tables and Buckets
    Chandresh

  • Not able to access the web based RuleAuthor of Oracle Business Rules

    Hi ,
    I have Installed Oracle SOA Suite (11g) version from here .
    I have followed the steps in the Installation guide .
    I was able to install it successfully. At present I need to Work on the oracle Business Rules.
    As per the documentation I have tried to access the Rules author at the following URL
    http://localhost:7001/ruleauthor/
    But I was not able to access it.
    Please let me know if I need to install any other component to access Rule Author. please let me know if you need any more information.
    Thanks in advance for your time,
    Raja Kumar

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

Maybe you are looking for

  • How to upgrade  from  weblogic  10.3.5 to  10.3.6

    Hello   I have been deployed  three  Weblogic  domains  across  two Windows servers  2008 R2,  one  domain  host  oracle business intelligence  publisher,  one domain  host  JEE enterprise applications and one domain  will  host Oracle form and Oracl

  • RDS 2012 R2 best design possible with wildcard certificate

    Hi! I am looking for some guidance for my RDS 2012 R2 design flaw.  What I would like to achieve? *I would like my users either internal or external to be able to connect to RDWeb via one single webaddress ( remote.mydomain.com) What I have in place?

  • Downloadin​g images in browser

    im on my playbook right now and ive been trying to figure out how you download images to the playbook in the browser? Solved! Go to Solution.

  • Adjustment Layer Does Not Adjust Layers

    When adding an adjustment layer to a composition in After Effects I am able to see the purple outline of the adjustment layer in the Composition.  I am able to change it's size and rotation by changing the Transform options, but the video on the two

  • HANA SP Call in Crystal Report

    Hi All , I need help to resolved my Problem . I have Developed HANA Store procedure when I call that store procedure in the crystal Report command Query I will give me error . Kindly help me . Call     "SAPHANA".DD_PROC_SalesKPI_BySalesRepresentative