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

Similar Messages

  • Use of decision table in Oracle Business Rule

    hello,
    I am using Oracle Business Rule beta version to develop a rule base application.
    I want to know that how i can make use of table to make decision on the basis of table data .
    thanx
    saleem

    hello,
    I am using Oracle Business Rule beta version to develop a rule base application.
    I want to know that how i can make use of table to make decision on the basis of table data .
    thanx
    saleem

  • How to use complex function as condition in Oracle Rule Decision Table?

    How to use complex function as condition in Oracle Rule Decision Table?
    We want to compare an incoming date range with the date defined in the rules. This date comparison is based on the input date in the fact & the date as defined for each rule. Can this be done in a decision table?

    I see a couple of problems here.
    First, what you posted below is not a syntactically valid query. It seems to be part of a larger query, specifically, this looks to be only the GROUP BY clause of a query.
    Prabu ammaiappan wrote:
    Hi,
    I Have a group function in the Query. Below is the Query i have used it,
    GROUP BY S.FREIGHTCLASS,
    R.CONTAINERKEY,
    S.SKU,
    S.DESCR ||S.DESCRIPTION2,
    S.PVTYPE,
    RD.LOTTABLE06,
    R.WAREHOUSEREFERENCE,
    RD.TOLOC,
    R.ADDWHO,
    R.TYPE,
    S.CWFLAG,
    S.STDNETWGT,
    S.ORDERUOM,
    R.ADDDATE,
    C.DESCRIPTION,
    (CASE WHEN P.POKEY LIKE '%PUR%' THEN 'NULL' ELSE to_char(P.PODATE,'dd/mm/yyyy') END),
    NVL((CASE WHEN R.ADDWHO='BOOMI' THEN RDD.SUPPLIERNAME END),SS.COMPANY),
    RDD.BRAND,
    S.NAPA,
    RD.RECEIPTKEY,
    R.SUSR4,
    P.POKEY,
    RDD.SUSR1,
    r.STATUS, DECODE(RDD.SUSR2,' ',0,'',0,RDD.SUSR2),
    rd.SUSR3Second, the answer to your primary question, "How do I add a predicate with with a MAX() function to my where clause?" is that you don't. As you discovered, if you attempt to do so, you'll find it doesn't work. If you stop and think about how SQL is processed, it should make sense to you why the SQL is not valid.
    If you want to apply a filter condition such as:
    trunc(max(RD.DATERECEIVED)) BETWEEN TO_DATE('01/08/2011','DD/MM/YYYY') AND TO_DATE('01/08/2011','DD/MM/YYYY')you should do it in a HAVING clause, not a where clause:
    select ....
      from ....
    where ....
    group by ....
    having max(some_date) between this_date and that_date;Hope that helps,
    -Mark

  • How to incorporate table data with Oracle Business Rule

    hello
    I want to use table with data in Oracle Business Rule can i do it.
    if yes please write how .
    with regs
    saleem

    Hi,
    like with coloring of cell according to value and so many.How to do that?
    Answer is, you can't
    Frank

  • 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 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 Business Rules with Fusion Release 4

    Hi
    I am wondering if we can use the Oracle Business Rules product with the Oracle Fusion Compensation APplication Release 4.
    Thanks
    Srinivasa Sunchu

    Srinivasa,
    There are relevant chapters in the Oracle Fusion Middleware User's Guide for Oracle Business Rules. There is sample code interspersed in the chapters.
    7 Working with Rules SDK Decision Point API
    http://fmwdocs.us.oracle.com/vol/doclibs/fusionapps/review/E36909_01/user.1111/e10228/decision_point.htm#ASRUG455
    10 Working with Oracle Business Rules and ADF Business Components
    http://fmwdocs.us.oracle.com/vol/doclibs/fusionapps/review/E36909_01/user.1111/e10228/adfbc.htm#ASRUG378
    I looked through the source code of one of our products that uses the Rules SDK to see if there is an easy-to-extract example, but it's far beyond the scope of a forum post. We'll probably create one or more blog posts that dive deeper into this topic, but I cannot promise a date for that. Keep an eye on http://blogs.oracle.com/fadevrel please.

  • 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.

  • Validate ADF UI field as per Oracle Business Rules

    Hi ,
    I have a requirement where the relationship between the various data fields are defined in Oracle Business Rule 11g inside BPM Project.I need to call these rules on ADF screens for data population.
    Eg, If there are two fields on ADF UI,field1 and fiedl2.
    Possible combinations of the two field are:
    Field1 Field2
    A B
    C D
    E null
    The rules are part of OBPM 11g project as customer can change the rules through composer at run time as per business need.
    How can i achieve this requirement.Please help urgent.
    Regards...

    Hi Daniel
    Lets say i have two attribute 'Product Code' and 'Department id'.The relationship between the two attributes is defined in Oracle Business Rule.
    eg.
    If Product Code is '111' then Department is 'Finance'
    If Product Code is '222' then Department is 'Inventory'
    The values for each of the attribute is defined in a database
    Product Code Table
    Value Description
    111 SalaryAllowance
    222 Current Stock
    Department Table
    Value Description
    Finance Handles Payroll
    Inventory Handles Packaging
    I am displaying these two attribute on the ADF UI as dropdowns. If I select '111' from the product code dropdown then the value in Department dropdown should automatically be set as 'Finance'.I need to trigger the validation/relationship between the attributes from business rules.
    The reason for keeping the relationship in rules is because business wants to change these relationships at run time.
    Hope the scenario is clear to you.
    Regards...

  • Oracle Business Rules.Bucket set

    Hi all,
    #1 How to add list of values into bucket set from a database and excel?
    say for example if i want to add 100,200,300 in a bucket set where these values are populated from a database table or Excel.
    how do i do that?
    Any suggestions.
    Thanks,
    Raju
    Edited by: 965698 on Oct 16, 2012 1:07 PM

    Hi Raju,
    You could investigate the use of the Java API of Oracle Business Rules, see http://docs.oracle.com/cd/E23943_01/apirefs.1111/e10663/toc.htm. It contains classes and methods to interact with bucket sets in an automated fashion.
    Kind regards, Ronald

  • 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..

  • OPA & Oracle Business Rules

    Can any one provide me the basic difference between OPA & Oracle Business Rules
    The difference between "OPA & Oracle Business Rules" link or document will help me a lot.

    OBR is a tool that is part of Oracle Fusion Middleware.
    OPA is an application for transforming policy documents into self-service interviews that help you make complex decisions, and for deploying those policies in conjunction with other applications across your enterprise for auditable decision-making.
    Suggest you also check out OTN:
    http://www.oracle.com/technology/products/applications/policy-automation/index.html
    Davin Fifield

  • Executing a Specific RuleSet within a Dictionary on Oracle Business Rules

    Good Day,
    How does one explicitly execute a specific ruleset in a Oracle Business Rules dictionary?
    While using the Business Rules Component inside our composite application(in JDeveloper), the only options available are:
    · Service: Decision Service name
    · Dictionary Name: The name of the dictionary that you want to use.
    · Name: Business rules component name.
    There is no section where we can select to execute only a specific rule set within a dictionary.
    Is this fuctionality not supported or is there a way around this, where we could be able to execute a specific ruleset within a dictionary?
    kind regards

    You get to choose the option of the Rule Dictionary When dragging in BPEL, if you have already built the bpel process with the rules call, you can do the following
    --> Open the .rules file in the Jdev
    --> Go to the Decision Fucntions Tab
    --> Select the decision function in the list( by default there would be only one)
    --> click on the edit icon
    --> In the bottom you would get to select the Rule Sets you want to be included in this function call(BusinessRulesSets to be included as part of the call)
    --> This would cater your requirement.
    Regards,
    Ajay

  • 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.

  • 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

Maybe you are looking for