Mixing geospatial queries with business rules

Is there an easy way to incorporate a Spatial-/Locator-based geo-spatial query into an Oracle Business Rules rule? For example (pardon my psuedo-code):
IF pub within 2 miles of my house AND pub sells cider THEN walk to pub
If not then is there another way to break down this sort of problem?

Hi Sri,
1. Basics of BR ( Business Rules ) can be found in planning document ( there are 2 planning docs 1. user guide and 2. Admin guide). Pls find that
2. From Planning perspective , we create Business Rules ,which are nothing but another version of essbase calculatino scripts , thats why you do see in EAS.
3. Essbase training does not include Business Rules ( planning does include).If you are comfortable with calculation scripts, then BR's should be comfortable to you.
4. To see BR's in shared services , I have a question , did you install Planning and all.
Sandeep Reddy Enti
HCC
http://hyperionconsultancy.com/

Similar Messages

  • Slow Performance with Business Rules

    Hello,
    Has anyone ever had slow performance with business rules? For example, I attached a calc script to a form and it ran for 20 seconds. I made an exact replica of the calc script in a business rules and it took 30 seconds to run. Also, when creating / modifying business rules in EAS it takes a long time to open or save or attach security - any ideas on things to improve this performance?
    Thanks!

    If you are having issues with performance of assigning access then I am sure there was patch available, it was either a HSS patch or planning patch.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error importing composite with business rules into SVN

    Hello,
    When I import a composite with business rules into Tortoise SVN I get below error.
    Error: Commit blocked by pre-commit hook (exit code 1) with output:
    Error: Path
    Error: '/trunk/ProjectName_SCA/.rulesdesigner/jaxb_classes/com/ProjectName/package-info.class'
    Error: is restricted for commit by pattern '\.class$' for the current user.
    I could import other composites(w/o business rules)
    Thanks

    Further invesitgation bears this problem out.
    Oracle support recommend wrapping the SimpleType in a ComplexType. This does work, but now I have an extra wrapper element to deal with. I either have to use the wrapped type in my other complex, composed Types and/or add an external wrapping element when trying to create Business Services in BPM to call the BusinessRules I've created.
    This is a bit messy.
    To be clear, this does not seem to be an issue with Business Rules; the BR editor and generation of Facts (including simple restricted types -> JAXB 2.0/Java Enumerations) seems to work correctly. There seems to be an issue exposing DFs as Services. The code which generated the WSDL and its supporting types seems to choke on restricted SimpleTypes.
    As a side note, it seems that HumanTasks have a similar limitation
    Edited by: wylderbeast on May 31, 2011 3:27 PM

  • Group Security Issue with Business Rules

    Hopefully you experts out there can follow this. We have about 200 users in our Planning application split into 3 categories (Admins, Interactive Users and Planners) via groups setup in Shared services. We also have an email group list setup in Outlook that has all 200 users in it that we use to send out emails to all users regarding the application. So in Shared Services we have the email group list as an assigned group in the Planners group. So as new people are added to the group list in email they are automatically included as a user in the Planning application. People that are Admins or Interactive Users are manually added to those groups in Shared Services. Everything seemed to be working fine until we tried blocking the Planners groups from running certain business rules in the application. We have clusters setup in Essbase to control access to the business rules. I went into the cluster and set the Planners group to cannot validate or launch on certain rules but found that I now could not run the business rules either even though I am an Admin and the Admin group has vaildate and launch privledges in the cluster. I believe the issue has to do with the fact that I am by default in the Planners group because I am in the email group list which is assigned to the Planners group in Shared Services. Other than setting up and managing 3 seperate email group lists and assigning them individually in Shared Services, does anyone know how I can manage business rules security using the 3 groups i have setup? I hope this makes sense. If not I can provide more detail. Thanks.

    Have you tried using Business Rules projects? Create a project for the admin Shared Services group and assign all rules to that group. Create a Planning project for planners and assign only rules that you want them to run. Any rule that planners should not have access to would be removed from the Planner business rules project, but still in the admin project for you to run.

  • Problem with Business rule-Essbase Error(1042017):

    Hi,
    I am getting the following error when i run this business rule specifically.
    Detail:Cannot calculate. Essbase Error(1042017): Network error: The client or server timed out waiting to receive data using TCP/IP.  Check network connections.  Increase the NetRetryCount and/or NetDelay values in the ESSBASE.CFG file. Update this file on both client and server.  Restart the client and try again.
    I dont get this error with any other rule. I have checked the solution provided in this link
    _[http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_error/erhelp.htm#ercalc.htm]_. But this solution wont help because i dont get this error in any other rule.
    The rule i run is
    "Depreciation Value" = "Cumulative.Asset value"/ ("Assumptions_Programs"->Jul->@UDA(Entity,@NAME(@CURRMBR(Location)))->@UDA(Location,@NAME(@CURRMBR(Location)))->"Assets life in months");
    The functions in the above rule will get replaced as below
    "Depreciation Value" = "Cumulative.Asset value"/ "Assumptions_Programs"->Jul->IND_Assumptions->LOC_IND->"Assets life in months";
    If i hardcode and run, i dont get this error. Please help.
    Regards,
    Ragav.

    The reason it works when you hard code it and why it doesn't when use UDA is simply that you should never have a multiple answers in a cross dimensional. @UDA function returns multiple answers. Even if for your case it only brings back one I believe it is tripping up the calculation. Worse if you are actually bring back multiple answers for @UDA that is definitely not going to work.
    I would have to understand all your fixes above the calcultion to recommend you the best possible solution. But at least you understand why you are getting the error and what you have to fix

  • Problem with Business Rules

    Hi,
    I just started with a simple Business rules sample.
    All the time only the first condition in the rule set seem to be executed and the result is same inspite of conditions not matching the first condition.
    Am I doing something wrong?
    Thanks,
    Prabu

    Maybe not, the rule may be working as designed. If you are doing a simple rule you also need to implement the negative, e.g.
    if I have a rule that price must be greater that $1000
    if price > 1000 then ...
    The rule will only activate for prices greater than 1000 what about less than?
    so you need to implement the negative
    if price <= 1000 then
    cheers
    James

  • Problem with business rule

    Hi all,
    I have a problem with a business rule (BR) deployed as a standalone Descision service.
    the BR consists on a simple decision table wich compare an input (bigInteger) with 50. It returns two facts (as output).
    the two conditions are confugured (i.e. <50 and >=50).
    the Decision service (stateless) is called in a simple BPEL process. in some cases the the assign activity in the bpel process rise this exception :
    <bpelFault><faultType>0</faultType><selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"><part name="summary"><summary>empty variable/expression result. The XPath variable or expression /ns5:callFunctionStatelessDecision/ns5:resultList/ns6:processResponse/ns6:CodeRetour is empty at line 440. An attempt to read or copy data referenced or computed by the XPath expression either had invalid data, according to the XML schema, or did not contain certain optional data. Ensure that the variable or expression result named in the error message is not empty. Enable XML schema validation of related variables to ensure the run-time data is valid. </summary></part></selectionFailure></bpelFault>
    it seems like an output of the business rule used by the assign after the invoke activity is empty.
    But in the input payload for the decision service all elements are not empty. I can't inderstand how the OBR return an empty variable?
    Any help please?

    In the taskflow you should be capable to trace step by step what happens in the execution. Does this give any clue, e.g. why sometimes the assert does not work?
    cu
    Andreas

  • Problem with Business Rules in OBPM 10.3.1 Enterprise for WebLogic

    We're having a problem with our Business Rules. We've updated two of our business rules (that are used by business rule transitions) in Studio; however, when we publish the updated process, the business rules are not updated. We cannot find anywhere in the Process Admin where to administer the rules to make sure they're overwritten.
    I've double checked, and the updated rule code is in the .project.xpdl, but for whatever reason, the rules are not being updated during the deployment. I'm sure that we've done this many times in the past, but for some reason, now it is not working.
    We're tried variations of the different versioning when we publish, and we've also tried to unpublish all of the older versions of our process, but it does not change the business rules. We can try to unpublish and undeploy, but it seems like we would lose all old instances of that process that are still running if we did that.
    Has anyone ever had this issue, or know if there is a way to effect the business rules via the process admin?

    I see what you're saying, but here's why it works the way you're observing it.
    Once deployed, the 10g business rules are edited by a business user (the owner of the rule). Changes in Studio that a developer makes to a business rule don't override the changes that the business user made.
    To let the business owner edit the rule, add a Global Interactive activity and change its property setting to edit the business rule. Put this activity in the role for the business owner (the person you want to edit the rule).
    Dan

  • Slow response  on data dictionary queries with optimizer_mode=rule in  10g

    I have two dataabse: DB1 (9i) and DB2 (10g) on windows 2000
    They are two development databases with the same schemas and same tables. The application executes the same commands but with different results and execution plans.
    In DB2 the queries with the most slow response tima are the queries on the data dictionary (for example: all_synonyms).
    These query are very fast with the optimizer_mode=cost and very slow with the optimizer_mode=rule.
    And the the problem is this:
    in DB1 and DB2 the application executes after the connection this command:
    ALTER SESSION SET OPTIMIZER_MODE = 'RULE';
    These are the traces of the session in db1 and db2:
    The queries are created dynamically by the application.
    Is there a solution for this?
    thanks
    Message was edited by:
    user596611

    Here is a simple example of what can happen,
    @>alter session set optimizer_mode=all_rows;
    @>SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());
    PLAN_TABLE_OUTPUT
    | Id  | Operation        | Name | Rows  | Cost (%CPU)|
    |   0 | SELECT STATEMENT |      |     1 |     2   (0)|
    |   1 |  FAST DUAL       |      |     1 |     2   (0)|
    @>alter session set optimizer_mode=rule;
    @>SELECT PLAN_TABLE_OUTPUT FROM TABLE(DBMS_XPLAN.DISPLAY());
    PLAN_TABLE_OUTPUT
    | Id  | Operation        | Name |
    |   0 | SELECT STATEMENT |      |
    |   1 |  FAST DUAL       |      |
    Note
          - rule based optimizer used (consider using cbo)As you can see incomplete explain plans. Therefore it is not advised.
    Adith

  • Moving Net Income to Balance Sheet with Business Rule

    Hello,
    The system is BPC 7.0 SP3, on SQL 2008
    I was wondering if anyone else has had this issue.  I created a business rule that moves Net Income Year to Date to the Balance Sheet, and call it through logic.  
    The problem I am having is that all periods are calculating correctly except for Period 12.  The same number that is calculate for Period 11 is posted to Period 12. 
    The Time Dimension looks correct with it's prior and current and next properties.
    Here is the Business Rule setup, all entries you do not see are NULL
    Transformation Group        Source         Source DataSRC     Destination Account   Destination DataSRC                      
    CEYTD                                NetIncome     TOTALADJ             29210                          Input                                                                               
    Reverse Sign                      YTD        Remark          
    False                                    True        CEYTD
    Here is the logic I use to call the stored procedure.
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [USD], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    *RUN_STORED_PROCEDURE=SPRUNCALCACCOUNT([%App%], [Actual], [LC], [%SCOPETABLE%], [%LOGTABLE%], [CEYTD], [99])
    *COMMIT
    If anyone has experienced this issue before, I would really appreciate some help on how to resolve it.
    Thank you,
    Mark Glowczewski

    Hi
    why not try the script logic in doing this it will be much more flexible
    Thanks

  • Planning -v11.1.1.1 - Cannot Communicate with Business Rules

    Hi,
    We are unable to log into Business Rules no matter how many times we recreate users and properly provision them. I found this in the 11.1.1.1 Installation and Configuration Guide but have no idea of where or how to make this change.
    Planning
    • After you manually deploy Planning, Business Rules does not communicate with Planning. To work around this issue, add the following Java Options:
    -DESS_ES_HOME=/hyperion/products/Essbase/eas/server -Dhyperion.home=/hyperion -DHYPERION_HOME=/Hyperion [8622082]
    Where exactly would we do this and could it possibly help?

    Issue is with SSH the SSH ware running in two sys and conflict issue.
    Restored the Open DAP and suggested the client to re start the Service and server ones.
    Client can successfully able to log to EAS and to BR now.
    Couple of BR access issue is resolved by provision and Refresh of Manage database.

  • SOA - BPEL with Business Rules deployment issue

    I am trying to construct the Purchase Order Processing SOA sample, I am able to deploy and test with mediator, BPEL. When I tried to add business rules to the BPEL I am getting following error. can anyone please help on this?
    10:47:54 AM] Creating HTTP connection to host:XXX.XXX.XXX.XXX, port:7001
    [10:47:54 AM] Sending internal deployment descriptor
    [10:47:54 AM] Sending archive - sca_POProcessing_rev1.4.jar
    [10:48:00 AM] Received HTTP response from the server, response code=500
    [10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
    [10:48:00 AM] HTTP error code returned [500]
    [10:48:00 AM] Error message from server:
    There was an error deploying the composite on AdminServer: Deployment Failed: Error occurred during deployment of component: ManualApprovalRule to service engine: implementation.decision, for composite: POProcessing: Error compiling fact classes.
    Error while compiling fact classes for service ManualApprovalRule.
    Check the underlying exception and correct the error. If the error persists, contact Oracle Support Services.
    ManualApprovalRule.
    [10:48:00 AM] Check server log for more details.
    [10:48:00 AM] Error deploying archive sca_POProcessing_rev1.4.jar to partition "default" on server AdminServer [http://XXX.XXX.XXX.XXX:7001]
    [10:48:00 AM] ####  Deployment incomplete.  ####
    [10:48:00 AM] Error deploying archive file:/D:/ORACLE_HOME/Docs&Samples/Purchase_Order_Tutorial/POProcessing/POProcessing/deploy/sca_POProcessing_rev1.4.jar
    (oracle.tip.tools.ide.fabric.deploy.common.SOARemoteDeployer)

    Hi,
    It would be helpful to others if you say which version/patch you are using.
    To answer number 1, that has always been a feature of business, you don't get the option to overwrite, its always been a pain.
    I have not come across issue 2 and I am sure I have imported many rules with the cross dimensional operator in them ->
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error with business rules

    We are using 7.1.2 and I am unable to find business rule option in the view panel, and when I tried to open business rules client it is giving the below error Can any one gone through this.
    application error- 429 activex component cant create object
    Thanks
    M.V

    The same error when executing the business rule after opening the form.
    " Error executing the calculation script. Check log for details"
    I have checked the log also, but its also showing the same sentence.
    While validating the rule, I have checked the same thing and I have compared with the UAT settings also. Its all are fine.
    Only these 2 rules with the same form in all the folders are getting the error.
    I have done one more thing that copying the content of Business rule code in UAt and paste the same in Production and saved it.
    I have checked all other settings they are remain same and no changes. Then I have detached the rules from web form and saved it and log-off from planning.
    Again logged in and tagged the BR's to the form and tried to execute, even then also the same error coming.
    thanks
    rreddy
    Edited by: user4483519 on Sep 21, 2009 4:39 AM

  • Problem with Business Rules access from Shared Services

    Hello,
    When trying to access Business Rules from Shared Services (expand Business Rules and click on the application) I get the "Refer to the Security Guide to configure security permissions for this application" message, but the user is fully provisioned for Business Rules. It happens even logged on as admin. Access from Administration Services works fine. The version Hyperion system 9 (9.3.0.1). What is wrong? Help, please.
    Thanks,
    Timur

    You can't access Business Rules from Shared Services. This is no different from any other application - Planning, Essbase, etc. You can provision users to the application roles, but you can't actually do anything with the application, other than security, in Shared Services. You use Admin Services to maintain Business Rules.

  • RTP not working with Business Rule

    I am trying to create a buisness rule that fixes on a member in a custom dimension based on a run time prompt using Calc Manger (11.1.2.2).  I created the variable at the cube level, set it to 'Member' and selected the appropriate dimension, and selected RTP.  The FIX statement is very simple FIX("Current",{Contract}).  The rule validates and deploys with no problem.  When running the rule either on form save or through Business Rules I receive the error: "error parsing formula for [FIX STATEMENT] (line 2): invalid object type.  If I change the variable to uncheck 'RTP' and place the same member used previously as the Default value the rule runs no problem.  Is there any reason why the rule appears to not be able to read in my RTP selection?
    Thanks,
    CS

    Though this is not a calc manager issue, I am sure the member that Planning is picking up is a member that is set tyo dynamic calc.
    You cannot use a member that is set to dynamic calc in a fix.
    -Sree Menon

Maybe you are looking for

  • How do we share one iTunes account but have separate users

    My family all have apple products, but cant figure out how to share one account as a family, share applications, and the rest, but have differant users. Is there an actual way to do this?

  • Exchange Collaboration Room Calendar - problem sending appointment update

    I can successfully initiate appointments in a collaboration room calendar that's connected to Exchange 2003. However, when I go back to an appointment created earlier and try to send an update, it successfully saves the update info in the  portal and

  • Applying Custom Skin to the new Space created

    Hi All, I am working with Avitek VM sample. I have logged in as an administrator and created a new space in Webcenter Spaces. I have to apply my own corporate branding to the Space I have newly created. I have created a skin at runtime and tried to a

  • Exporting SlideShows in H.264 Format?

    Hi, I was just trying to export an iPhoto Slideshow to Quicktime H.264. Currently i see only Export -> Large (720 x 480). Is any way to export it has a HD Quality Quicktime film? Many thanks Alex Mac Mini   Mac OS X (10.4.6)  

  • Faxing via apple modem

    Hi all, I added an internal modem to my G4 AGP. I'm using Faxstf and I find it tedious when trying to fax that I have to manually add a fax # into my address book in order for Faxstf to find it. In the pass, from my 8100 I faxed normally as I typed t