Rules Manager and Expression Filter

I was wondering if someone could shed light on “Rules Manager and Expression Filter”.
How will the use of “Rule Based Development” be efficient compared to today’s
Programming paradigm ?

Zahir and Michael,
The Wikipedia entry for "Rules Engine" summarizes the key benefits of using rule-based development approach in dynamic environments.
Also see a brief discussion on "Developing Rules Applications" in the Application Develeoper's Guide http://download-west.oracle.com/docs/cd/B19306_01/appdev.102/b14288/exprn_intro.htm#sthref22
Please contact me through Rules Manager forum (Rules Manager & Expression Filter if you need additional help.
Regards,
-Aravind.

Similar Messages

  • Rules Manager and Expression filer on XE

    Has any one installed Rules Manager and Expression filter on an XE database? Would love to check it out on XE. Looks like it is not pre-installed. I was able to run the install scripts. I noticed one error though. It seemed to indicate jvm is not installed on XE. Tried to locate initjvm scripts. Either the script name has changed in XE or it is not there. This is a quick question in case somebody has gone down this path. I will post more details soon when I get sometime to look at the full log.

    Read the post about javavm. I could not find the post where Tom has said it would be very problematic to install javavm on XE. I guess Rules Manager and Expression filter on XE is not possible or very difficult.

  • NW BRM, Rules Manager and transport the BRM project through the landscape.

    Hello,
    I have a question about the working with Rules Manager and the possible difficulties of the changes management.
    The scenario is simple.
    We have created a BRM project in software component with decision table and initialized it with some values. Then we transported it to the QA and Prod system through the CMS. Note: in the SC not only the BRM project but also a WDJ, for example.
    Then business user changes the values in the decision table in Prod system by using Rules Management functionality. Everything is OK till now.
    But then we changed something in the WDJ component in the same SC and then transported it to the Pros system. After that transport the changes of the business user are lost. How can we fix it?
    Of course we can download the runtime content from the prod system, but it's bit complicated. Any ideas?

    Dear Kirill,
    SAP NW Business Rules Management web UI tool for business users (Rules Manager) has a feature "Download Rules Content" from CE 7.3 onwards.
    Please find the details of the feature in the below link:
    http://help.sap.com/saphelp_nw73/helpdata/en/42/89a408c265402dbaf1c39ea423d816/frameset.htm
    Using the above "Download Rules Content" feature of RulesManager, you should be able to import the latest version of the Rules Project, which contains the changes done by the business user, into NWDS. Once you have the modified rules project in NWDS you should be able to transport it to QA and Prod systems without the data loss.
    But this feature is only available from NW CE 7.3 onwards.
    Hope this helps resolve your problem.
    Thanks and Regards,
    Santosh Giri

  • Rules Manager and Filters

    Is it possible to create a rule in Rules Manager that uses a filter?  We are using Endeca Workbench 2.1.2; we don't have Experience Manager.  Thanks.

    No, you can only trigger rules by dimension values, text terms and/ or user profiles.
    regards
    Terry

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

  • New to Business Rules Management

    Hi All,
    I am really new to Business Rules Management and trying to model rules in the SAP Netweaver Composition Environment.
    Could someone let me know if they have any sort of document to do the same.
    Thanks & Regards,
    Sushanth Hulkod

    Hi Suskanth,
      Check out the BRM section on SDN http://www.sdn.sap.com/irj/sdn/nw-rules-management as well as the SAP NetWeaver BRM section SAP NetWeaver Business Rules Management Resources Center [original link is broken] where you can find tutorials.
    O.

  • Decision table rules manager content disappearing

    Hi Experts,
    We have BRM decision table deployed . I can access that from Portal and Rules manager . I can modify the content of that table . No Problem till now .
    The problem is :
    Every time transport happens to P  for any thing (not related to table ), that content of table is removed automatically .And i have to do the entries again Manually .
    this is very difficult and unreliable . Please suggest how we can make that content persistent even we deploy something .or how can i upload content fast after deployment . say from some excel or file .

    Hi Govind,
    Well it could be a real problem but I suspect you are missing a couple of steps... to check...
    Before making any changes in your NWDS, you should be downloading the current active version of the Rules Project and importing that into your NWDS.  Suggest you read the SAP Library help on this one and you'll need to get security to give you BRM Download access - there's a security action for this that they need to add to your security role in the production environment.
    This is the link you need:
    http://help.sap.com/saphelp_nw73/helpdata/en/4d/9d62f71ede478e9496a29fe1533976/frameset.htm
    As for how to upload the decision tables content en masse... that's that the export/import (to/from MS Excel) buttons are for in the decision table section of Rules Manager and where you, or better still your business user (these are business rules after all ), should be doing this.
    Hope that helps,
    Jocelyn

  • Differences Rules Manager actual and last version

    Hello,
    what is the difference between the actual (Oracle 10.2/11) and the last version (Oracle 10.2) of the Rules Manager?
    thanks.

    Hello,
    Some of the key Rules Manager enhancements for 11g include
    - Support for collections and aggregate predicates in rule conditions,
    - Support for text predicates in rule conditions,
    - Support for shareable rule conditions,
    - DELETE and UPDATE support for DMLEVENTS configuration and
    - Support for change notification events
    You will find more information about these enhancements in the 11g White paper at
    http://www.oracle.com/technology/products/database/rules_manager/index.html and also in the Application Developer's Guide.
    From the above link, you can also download the new Ajax based Development tool for creating and managing CEP applications in the database. This tool will work with existing 10.2 applications as well. You will find the tutorial for this tool in the Training section.
    Regards,
    -Aravind.

  • How to install and run Rules Manager in XE

    I tried using Rules Manager in XE. Soon realized it is not installed. I ran the install scripts. Now it complains that java is not installed. Could not find initjvm scripts in XE. Has any one tried running Rules Manager on XE?

    Hi
    Notice that Java in the database is not available. See http://download-uk.oracle.com/docs/cd/B25329_01/doc/license.102/b25456/toc.htm#BABDDIAE...
    HTH
    Chris

  • Upgrading Oracle from 11.1.0.7 to 11.2 INVALIDATES Rules Manager ?Any Idea

    Operating system is HP UX ia64 and I used Automatic upgrade method using DBUA
    SQL> select substr(comp_name,1,40) comp_name, status, substr (version,1,10) version from dba_registry order by comp_name;
    COMP_NAME STATUS VERSION
    JServer JAVA Virtual Machine VALID 11.2.0.1.0
    Oracle Database Catalog Views VALID 11.2.0.1.0
    Oracle Database Java Packages VALID 11.2.0.1.0
    Oracle Database Packages and Types VALID 11.2.0.1.0
    Oracle Enterprise Manager VALID 11.2.0.1.0
    Oracle Expression Filter VALID 11.2.0.1.0
    Oracle Real Application Clusters INVALID 11.2.0.1.0
    Oracle Rules Manager INVALID 11.2.0.1.0 ---------------------------------------have anybody encoountered this Plz help
    Oracle Workspace Manager VALID 11.2.0.1.0
    Oracle XDK REMOVED 11.1.0.7.0
    Oracle XML Database VALID 11.2.0.1.0
    Thanks for Help in advance
    Gagan

    Hello EveryOne!
    I also have the same problem.
    I tried to run the rulpatch script but the problem still the same.
    I'm on AIX 5.3
    the script output says:
    .. loading the Expression Filter/BRM Java library
    call sys.dbms_java.loadjava(' -v -f -r -schema exfsys rdbms/jlib/ExprFilter.jar')
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    oracle.aurora.server.tools.loadjava.ToolsError:
    Error during loadjava: Failures occurred during processing.
    Check trace file for details
    ORA-06512: at "SYS.DBMS_JAVA", line 655.
    The Oracle Components :
    COMP_NAME STATUS PROCEDURE
    Oracle Expression Filter VALID VALIDATE_EXF
    Oracle Rules Manager                     INVALID VALIDATE_RUL
    Oracle XML Database VALID DBMS_REGXDB.VALIDATEXDB
    Oracle Enterprise Manager VALID
    Oracle Database Catalog Views VALID DBMS_REGISTRY_SYS.VALIDATE_CATALOG
    Oracle Database Packages and TypesVALID DBMS_REGISTRY_SYS.VALIDATE_CATPROC
    JServer JAVA Virtual Machine VALID INITJVMAUX.VALIDATE_JAVAVM
    Oracle Database Java Packages VALID DBMS_REGISTRY_SYS.VALIDATE_CATJAVA
    Thanks for the answers.
    Zs

  • Cannot open table in sql server management studio express

    Hello all.
    I have uploaded a table into sql management studio express. However, when I right click on the table and try and open it, I get an error message saying;
    "SQL Execution Error.
    Executed SQL statement: select columnName1, columnName2 etc....
    Error source: Microsoft. VisualStudio.DataTools
    Error Message: Exception has been thrown by the target of an invocation"
    Because of this error, I cannot manually edit the table. However, when I write a query running select * from Table X, the table does appear that way.
    Any help regarding how to open the table would be very much appreciated!!

     have uploaded a table into sql management studio express. However, when I right click on the table and try and open it, I get an error message saying;
    "SQL Execution Error.
    Executed SQL statement: select columnName1, columnName2 etc....
    Error source: Microsoft. VisualStudio.DataTools
    Error Message: Exception has been thrown by the target of an invocation"
    Because of this error, I cannot manually edit the table. However, when I write a query running select * from Table X, the table does appear that way.
    Any help regarding how to open the table would be very much appreciated!!

  • Expression Filter Performance Issues / Misuse?

    I'm currently evaluating the Expression Filter functionality for a new requirement. The basic idea of the requirement is that I have a logging table that I want to get "interesting" records from. The way I want to set it up is to exclude known, "uninteresting", records or record patterns.
    So as far as an implementation I was considering a table of expressions that contained expression filter entries for the "uninteresting" records and checking this against my logging table using the EVALUATE operator and looking for a 0 result.
    In my testing I wanted to return results where the EVALUTE operator is equal to 1 to see if my expressions are correct. In doing this I was experiencing significant performance issues. For example my test filter matches 72 rows out of 61657 possible entries. It took Oracle almost 10 minutes to evaluate this expression. I tried it with and without an Expression Filter index with no noticeable change in execution time. The test case and query is provided below.
    Is this the right use case for Expression Filter? Am I misunderstanding how it works? What am I doing wrong?
    Test Case:
    Version
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0      Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    Objects & Query:
    CREATE TABLE expressions( white_list VARCHAR2(200));
    CREATE TABLE data
    AS
    SELECT OBJECT_ID
         , OWNER
         , OBJECT_NAME
         , CREATED
         , LAST_DDL_TIME
    FROM   DBA_OBJECTS
    BEGIN
      -- Create the empty Attribute Set --
      DBMS_EXPFIL.CREATE_ATTRIBUTE_SET('exptype');
      -- Define elementary attributes of EXF$TABLE_ALIAS type --
      DBMS_EXPFIL.ADD_ELEMENTARY_ATTRIBUTE('exptype','data',
                                            EXF$TABLE_ALIAS('test_user.data'));
    END;
    BEGIN
      DBMS_EXPFIL.ASSIGN_ATTRIBUTE_SET('exptype','expressions','white_list');
    END;
    INSERT INTO expressions(white_list) VALUES('data.owner=''TEST_USER'' AND data.created BETWEEN TO_DATE(''08/03/2010'',''MM/DD/YYYY'') AND TO_DATE(''08/05/2010'',''MM/DD/YYYY'')');
    exec dbms_stats.gather_table_stats(USER,'EXPRESSIONS');
    exec dbms_stats.gather_table_stats(USER,'DATA');
    CREATE INDEX expIndex ON Expressions (white_list) INDEXTYPE IS EXFSYS.EXPFILTER
      PARAMETERS ('STOREATTRS (data.owner,data.object_name,data.created)
                   INDEXATTRS (data.owner,data.object_name,data.created)');
    SELECT /*+ gather_plan_statistics */ data.* FROM data, expressions WHERE EVALUATE(white_list,exptype.getVarchar(data.rowid)) = 1;
    DROP TABLE expressions PURGE;
    BEGIN
            DBMS_EXPFIL.DROP_ATTRIBUTE_SET(attr_set => 'exptype');
    END;
    DROP TABLE data PURGE;

    Hi,
    If you are already using the queries and are stable enough then rather than modifying query you can try other options to improve the query performance like data compression of the cube, creation of aggregates, placing cube on BIA or creating cache for the query.
    Best Regards,
    Prashant Vankudre.

  • When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Please help. My ipod classic could not be recognised by itunes when I connect my ipod to PC. Previously it has been recognised before I updated. This was a while ago now and so I removed all apple files and re installed the latest itunes but am having the same problem.
    When I download itunes, it says that Ipod Service failed to start. I checked the services under task manager and when I try to start it, it says access denied. How to I get access and for the ipod service to start and run?

    Some anti-virus programs (e.g., McAfee) have this rule that can be invoked under the "maximum protection" settings: PREVENT PROGRAMS REGISTERING AS A SERVICE. If that rule is set to BLOCK, then any attempt to install or upgrade iTunes will fail with an "iPod service failed to start" message.
    If you are getting this problem with iTunes, check to see if your anti-virus has this setting and unset it, at least for as long as the iTunes install requires. Exactly how to find the rule and turn it on and off will vary, depending upon your anti-malware software. However, if your anti-virus or anti-malware software produces a log of its activities, examining the log may help you find the problem.
    For example, here's the log entry for McAfee:
    9/23/2009 3:18:45 PM Blocked by Access Protection rule NT AUTHORITY\SYSTEM C:\WINDOWS\system32\services.exe \REGISTRY\MACHINE\SYSTEM\ControlSet001\Services\iPod Service Common Maximum Protection:Prevent programs registering as a service Action blocked : Create
    Note that the log says "Common Maximum Protection: Prevent programs registering as a service". The "Common Maximum Protection" is the location of the rule, "Prevent programs registering as a service" is the rule. I used that information to track down the location in the McAfee VirusScan Console where I could turn the rule off.
    After I made the change, iTunes installed without complaint.

  • Can i use "Oracle Database 12c: Performance Management and Tuning " training for getting certification on "Oracle Database 11g: Performance Tuning 1Z0-054"

    i have taken "Oracle Database 12c: Performance Management and Tuning new" training from oracle university. Now i would like to get certified on "Oracle Database 11g: Performance Tuning 1Z0-054" exam. Is it possible ?

    I essentially endorse and refer you to Matthews' and John's post above.
    I would differ with slightly with Matthew because my guess is you would often be able to use like for like 12c training for an 11g certification ( I believe there are precedents).  BEFORE ANYONE ASKS THE OTHER WAY DOESN'T HAPPEN.
    .... but totally concur with Matthew you would ill advised to procede on that basis without one of:
    - This being advertised as possible on the website : e.g. https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=654&get_params=p_id:169 ... option 2 show courses.
    - Confirmation from Brandye
    - Confirmation from an Oracle Certification Support Web Ticket ( http://education.oracle.com/pls/eval-eddap-dcd/OU_SUPPORT_OCP.home?p_source=OCP )
    ... The more common (and in my opinion usually better) way would be get your 11g DBA OCP ( or higher first) and then take the 1z0-054.  I am almost certain they will accept your 12c course for the 11g DBA OCP.
    If you are choosing the route of not being a 11g (or 12c ) DBA OCP first but are on option 2 and relying on the course for certification then the issue is more in the balance and you are even more strongly advised to get confirmation before proceding (remember if the rules need to be changed for you only then any profit out of the exam is lost).
    In general my understanding is Oracle would prefer to encourage people to train on the latest version of product that is available for training  and will prefer to avoid restrictions which would cause you to train at a lower version.  ( This is simply my guess at Oracle University Policy ... personal opinion only).
    Having said all I have said I'd encourage you to go with the advice of the earlier two posts.

  • Regarding Rules, Functions and Risks

    Hello,
    1. Does SAP provide a standard ruleset for SoD? Does it come with the AC 5.3 .SCA?
    2. What is the relation between Rules, Risks, Functions and Business Process?
    Thanks.

    Hi Gautam,
    Just to make it more explanatory, lets take few examples for each entity:
    1. Business Process (BP):
    It can be a department, group or an independent functional unit in an organization. E.g Finance or HR or Material Management.
    2. Function:
    It can be a set of activites or say set of simlilar activities in a BP. E.g in SAP Security - SU01 and PFCG combination can be termed as a function - "User and role maintenence" .
    3. Risk:
    It can be a combination of 2 or more functions which when given to a single user, can be harmful to the organization.
    4. Rule:
    It is generated from Risks automatically. E.g if A and B are 2 funtions in a risk R, such that:
                       A has transactions X and Y and
                       B has transactions M and N
    so there can be multiple rules generated here for Risk R , with the combinations like X and M rule, X and N rule, Y and M rule, Y and N rule etc.
    5. Ruleset:
    As the name suggest, is a set of Rules, generated from Risks. Two Rulesets may contain same, similar or dissimilar risks, based on the lanscape for which you want to use the ruleset. E.g you might have ruleset R1 having Risks 1 to N in your development system and you might have ruleset R 2 having Risks 1 to M in your Production system.
    Hope this makes it a bit clearer to you know. For more dependencies within these entities and how they behave with eah other, I would suggest if you create each of them and then observe their linkages. The config guide from SAP would be more than enough for this purpose.
    Regards,
    Hersh.
    http://www.linkedin.com/in/hersh13

Maybe you are looking for