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

Similar Messages

  • Using third party jars with Oracle Business Rules

    Hi
    I am working on Oracle AS 10g release 2.
    We are using Oracle Business Rules in integration with Oracle BPEL.
    While using third party jars however, Oracle Business Rules end is facing errors.
    Error during unmarshallingProvider com.sun.xml.bind.ContextFactory_1_0_1 not found
    oracle.classloader.util.AnnotatedClassNotFoundException:
    Missing class: com.sun.xml.bind.ContextFactory_1_0_1
    Dependent class: javax.xml.bind.ContextFinder
    Loader: oracle.xml:10.1.0_2
    Code-Source: /D:/oracleasr3/lib/xml.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in D:\oracleasr3\j2ee\home\oc4j.jar
    Can anybody help in figuring out where Jaxb jars(3rd party jars) are to be kept so that OAS access it?
    We tried using the applib folder to load the jars but we are getting class loading errors.
    When new instances are created, class loading is not happening.
    Pls help.
    Thanks
    Kavya

    Are you using Application Server Release 3 or Release 2? There are different versions listed in your mail.
    I think you probably want to add this as a shared library via EM and then import the shared library to your application with the application's xml config files.

  • Use of JSR-94 in oracle business rule

    I am developing an application using oracle business rules .
    I want to create a JSR-94 Rule Execution Set from Rule Sets in a Dictionary
    and want to run the application through created rule execution set.
    I have taken reference form OracleBusinessRulesUsersGuide.pdf but unable to
    run the installed_dir\rules\demo\car demo through the rule execution set.
    U can take the reference of car demo
    with regards
    saleem khan

    Hi,
    Thnaks for your reply but I've already tried with that and as I've mentioned above, it would return you an integer representing the day of the week;not the day.
    Thanks
    Edited by: user11930797 on 20 Sep, 2011 8:22 PM

  • Difference between use of decision table and if/then in business rules

    Hello ,
    Could some one please explain me difference between use of decision table and if/then in business rules in short.
    - Shirish

    Hi,
    They are equivalent, pretty much what you can do with a decision table you can also do with if/then...
    However, decision tables provide automated features that can reduce the number of required rules, as compared to the if/then rules (this is called rule coalescing).
    Have a look on this document... Search for 5.1.1 What is a Decision Table?
    http://docs.oracle.com/cd/E23943_01/user.1111/e10228/decision.htm#CJHFIAHG
    Cheers,
    Vlad

  • 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

  • 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

  • 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

  • Comparing two List values using Oracle Business Rules

    Hi all,
    i just need to know how to use the Oracle Business Rules to Compare 2 list types
    say for example list1( 10,20,30,40) and List2(10,50,60). when i compare both the list using the business rules
    the rule should return true if there is atleast one match..here 10.
    any help is appreciated
    Thanks,
    karthik

    Hi folks,
    Please show the way....
    Regards,
    PavanKumar.M

  • Guideline for making java application to be used in oracle business rules

    hi'
    I am using Oracle Business Rules and trying to use one of my simple java program and trying to use it in rule author, however its showing "0 classes or packages have been imported.", please Tell me what guidelines to follow to program in Java so that we can use those Java classes in Rule Author.*
    I am using Oracle Rule author and in definition's Tab when I try to Import the classes then nothing is importing {color}"0 classes or packages have been imported."
    My Java class is
    package getDiscount;
    public class Test123 {
    private int i;
    public void setDiscount(int i) {
    this.i = i;
    public int getDiscount() {
    return i;
    public static void main(String args[]) {
    Test123 d = new Test123();
    d.getDiscount(100);
    void getDiscount(int quantity) {
    if (quantity &gt; 500) {
    setDiscount(10);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else if (quantity &gt; 250 && quantity &lt; 499) {
    setDiscount(5);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else {
    setDiscount(0);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    Test class:
    package getDiscount;
    public class Test123 {
    private int i;
    public void setDiscount(int i) {
    this.i = i;
    public int getDiscount() {
    return i;
    public static void main(String args[]) {
    Test123 d = new Test123();
    d.getDiscount(100);
    void getDiscount(int quantity) {
    if (quantity &gt; 500) {
    setDiscount(10);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else if (quantity &gt; 250 && quantity &lt; 499) {
    setDiscount(5);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    } else {
    setDiscount(0);
    System.out.println("Discount on this Quantity is--&gt;"+getDiscount());
    Edited by: Yatanveer Singh on Dec 24, 2008 12:19 AM

    Error
    Cannot perform operation. 'RUL-01527: Received exception for loadClass. RUL-01016: Cannot load Java class lib.Demo. Please make sure the class and all its dependent classes are either in the class path, or user specified path. Root Cause: lib/Demo (wrong name: Demo) '
    Hide
    oracle.rules.sdk.exception.RulesSDKException: RUL-01527: Received exception for loadClass. RUL-01016: Cannot load Java class lib.Demo. Please make sure the class and all its dependent classes are either in the class path, or user specified path. Root Cause: lib/Demo (wrong name: Demo) at oracle.rules.sdk.mapper.RuleObjectHelper.loadClassOrPackage(RuleObjectHelper.java:2154) at oracle.rules.ra.uix.mvc.ClassSelectorEH.importClassesOrPackages(ClassSelectorEH.java:184) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at oracle.rules.ra.uix.mvc.BeanEH.genericHandleEvent(BeanEH.java:869) at oracle.rules.ra.uix.mvc.BeanEH.handleEvent(BeanEH.java:838) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.TableEventHandler.handleEvent(Unknown Source) at oracle.cabo.servlet.event.BasePageFlowEngine.handleRequest(Unknown Source) at oracle.cabo.servlet.AbstractPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.ui.BaseUIPageBroker.handleRequest(Unknown Source) at oracle.cabo.servlet.PageBrokerHandler.handleRequest(Unknown Source) at oracle.cabo.servlet.UIXServlet.doGet(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

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

  • 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

Maybe you are looking for