Business Rule fails - where

Hi,
I have a business rule that does some cross dimension multiplication.
I think it is now running into a data problem, as it fails when it has worked consistently for sometime.
Is there anyway to get any diagnostics on what data is being accessed when the script errors??
The only thing I can think of that would cause failure would be an attempt to multiply null or 0, the latter causing a problem because of subsequent complications of rounding the sum of the result back to the original figure - but of course these are only educated guesses as I have no means of knowing what data it choked on - can I find this??
thanks,
Robert.

Could try using the Set Msg and Set Notice commands at the outset of your BR?
IE:
SET NOTICE HIGH;
SET MSG DETAIL;
as per
http://docs.oracle.com/cd/E10530_01/doc/epm.931/html_esb_techref/calc/set_msg.htm
http://docs.oracle.com/cd/E12032_01/doc/epm.921/html_techref/calc/set_notice.htm
You might already be aware of these or they might not get you exactly what you want, but may be worth a shot....
Thanks
JB

Similar Messages

  • Assert new business object as tree output in business rule fail

    Hi all
    I use Jdev 12.1.3
    When I create a business rule with input as tree and output parameter as tree. input/output parameters are different .xsd files but are same structure.
    In my rule set i define a rule that read the tree (it contain a collection with 1 to many relation such as http://docs.oracle.com/cd/E28271_01/user.1111/e10228/rules_start.htm#autoId34http://) and then i want to assert new in my output tree but in reading collection for insert their element failed.
    This is my rule body:
    And my error is:
    Can not set java.lang.Long field com.oracle.xmlns.bpm.bpmobject.businessdata.mosavabatedayere.MosavabateDayereType.dayereId to com.oracle.xmlns.bpm.bpmobject.businessdata.mosavabehayeyegan.MosavabehayeYeganType
    MosavabateDayereType is a array in ListMosavabateDayereType
    thanks to all

    It's working now..I had to use Global variable to declare child element of the output variable and use the same during action.

  • Error running business rules

    Hello All, We are currently experiencing the problem with the Business Rules. After some idle time in the application, we get an error "Cannot connect to essbase server" and the business rules fail to run.
    We are using Planning: 9.3.1.1.5 and Oracle :10 R2
    below are some details:
    Last usage time: 5:27 PM on 7/7/08
    User logged in at 7:27 AM on 7/8/08
    the hbrlaunch.log file has the following Exception entry at 7:27 AM:
    ************************ Date/Time Ended: 2008/07/08:07:27:30.399 CDT Type/Server/Application/Database: Essbase/xxx..domain.com/CC_Plan/CC_Plan Business Rule Name: CC_CurrencyAndAgg_MnthlyInp_OpsMisc By HBR user: user1 By Essbase user: admin Date/Time Ended: 2008/07/08:07:28:05.901 CDT Type/Server/Application/Database: Essbase/xxx.domain.com/CC_Plan/CC_Plan Business Rule Name: CC_AddAcct_OpsMisc_MonthlyInput By HBR user: user1 By Essbase user: admin Exception: Error connecting to Essbase server xxx.domain.com. *************************
    After logging the above exception about error connecting to essbase, no more exceptions are logged. In AAS_out.log, at around the same time the user experieced error, the following entry was found. not sure if they are related.
    2008-07-08 07:27:08,735 INFO Thread-23 com.hyperion.hbr.db.DBPluginDataTable - Deleting Plugin data older than TO_DATE('2008/07/08 07:25:44','YYYY/MM/DD HH24:MI:SS')
    Some exceptions were logged a few hours prior to the error being occurred:
    2008-07-06 19:25:01,258 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: MSG_USER_PROVISIONING_NATIVEPROVIDER_SETUP_ERROR
    At around the same time in essbase application log, we have these errors:
    [Tue Jul 08 07:27:55 2008]Local/CC_Plan/CC_Plan/admin/Error(1200315) Error parsing formula for [REGION DEFINITION] (line 0): invalid object type [Tue Jul 08 07:27:55 2008]Local/CC_Plan/CC_Plan/admin/Warning(1080014) Transaction [ 0x310231( 0x48735d4b.0x2da78 ) ] aborted due to status [1200315].
    In Essbase.log file, right around the same time the error occurred, it logs some errors stating thet the substution variables does not exist.
    [Tue Jul 08 07:05:15 2008]Local/ESSBASE0///Info(1051001) Received client request: Logout (from user [admin]) [Tue Jul 08 07:05:15 2008]Local/ESSBASE0///Info(1051037) Logging out user [admin], active for 5 minutes
    [Tue Jul 08 07:26:15 2008]Local/ESSBASE0///Error(1051021) You have been logged out due to inactivity or explicitly by the administrator.
    [Tue Jul 08 07:27:14 2008]Local/ESSBASE0///Error(1051007) Invalid login id - request [Logout] failed
    *** errors about substitution variables *****
    [Tue Jul 08 07:27:55 2008]Local/ESSBASE0///Warning(1051003) Error 1051083 processing request [Get Substitution Variable] - disconnecting
    [Tue Jul 08 07:50:20 2008]Local/ESSBASE0///Warning(1051003) Error 1051083 processing request [Get Substitution Variable] - disconnecting
    ********************************************************************************************* Planning_err.log file has the following entries: ********************************************************************************************
    Creating rebind thread to RMI java.lang.RuntimeException: Unable to aquire activity lease on activity 1 as the activity is currently leased by another server.
    The table: hbrplugindata in the AAS schema, is refreshed every minute.
    A new record is inserted as per the logs, but there is only one record in the table. It could be that the delete command is not logged.
    No exception are logged either. Could it be that there are exceptions during this operation and thus results in the failure of BR's?
    Currently we have to restart planning and RMI services to get the business rules to be working again.
    Any help in this matter is welcome. Thanks!

    Hi, we have the same error (region definition error, rules in planning not running for approx. 15 min) - then suddenly working again.
    This is a desaster, as planning users save not-calculated data and cause inconsistency in the system.
    had this in planning 4 installation up to Aug.08 and then in system 9 (with planning patch 5) - rel. 9.3.1.1.5 using IBM Websphere -
    all quick solution from hyperion did not really help: increase number of ports, java cache, change netrelay, netretryconect etc. in essbase.cfg and
    Olap.server.net retry +Olap.server.net connect delay in essbase.properties files
    Review business rules and users for errors, hardware, caches, fragmentation, potential system overload, search for corrupted database, invalid formulas in outline ...
    it came out, that it was just 1 business rule causing this trouble: our only rule, where you enter in a user prompt a numeric value -problem is quotation marks.
    we installed the cumulative Service Fix 11 for this (and other reasons) last week (takes approx. 4 hours to install with all the manual steps - just came out in May - Rel. 9.3.1.1.11)
    as the error happened only from time to time in the peak of our planning session, we will monitor next months but are very optimistic to have things fixed (solution obviously in fix 9 already)
    this link may help as well:
    http://www.network54.com/Forum/58296/thread/1201134375/1217512299/Strange+behaviour+with+HBR++%28Planning+931%29
    I suggest to install Service Fix 11 - if you read the manual, you probably find more fixed errors in there. (Patch is for Planning and BR Rules/AAS EAS)

  • Business Rules (Planning 9.3.1) Failure when run time prompts....

    Has anyone experienced an issue where the Business rules failed because user entering in a fully numeric member name without the double quotes. We seem to be experiencing this in 9.3.1 planning. What is funny, is that I figured I would have caught onto this issues in previous versions. So I am wondering if it is just specific to 9.3.1. We have member names that are numeric (Empl ID, Entity, etc) so we'll use a business rule to do an employee transfer. Well users would enter this in without quotes and effectively crash business rules in all forms. When we test with the quotes, all is well. I am also wondering if the 9.3.1.1.7 patch release fixes this issue. Thanks for any insight to this.

    Hi,
    I always thought that you had to surround numeric values with quotes, it would be nice if it could distinguish that you were entering a member name so treat everything as text.
    I just had a look at a version of planning running 9.3.1.1.7 patch and it seems to be the same that you need to enclose in quotes otherwise you will get this :-
    [Wed Oct 15 09:14:36 2008]Local/BUDGET/north/hypadmin/Error(1200315)
    Error parsing formula for [REGION DEFINITION] (line 0): invalid object type
    [Wed Oct 15 09:14:36 2008]Local/BUDGET/north/hypadmin/Warning(1080014)
    Transaction [ 0x4b0002( 0x48f5a66c.0xaba18 ) ] aborted due to status [1200315].
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Two business rules runtime errors

    Hi,
    The business rules looks very nice but I got two runtime errors, The first I have to deploy twice else I got a wdsl error
    08/02/17 13:05:16 -------> CompositeDeployerTimer: deploying composites ...
    08/02/17 13:05:16 --------->deploying composite model: businessrules/br!1.0*2008-02-17_10-23-41_328
    17-feb-2008 13:05:16 oracle.integration.platform.PlatformMessages warningUnableRegisterService
    WARNING: Unable to register service.
    oracle.fabric.common.FabricException: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: OrderCheckRules_DecisionService.wsdl: Error in getting XML input stream: oramds:/br/OrderCheckRules_DecisionService.wsdl: MDS-00054: Het bestand dat moet worden geladen oramds:/br/OrderCheckRules_DecisionService.wsdl bestaat niet.
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:341)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:141)
         at oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java:149)
         at oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.java:130)
         at oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:89)
    The other is more serious. All the business rules fails with the same error.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36335
    Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
    This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.executeUnitOfWork(OracleRuleSession.java:516)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:272)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.oracle2.OracleRuleSession.execute(OracleRuleSession.java:246)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.impl.DecisionServiceImpl.process(DecisionServiceImpl.java:1273)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at java.lang.Thread.run(Thread.java:595)
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.> ORABPEL-36333
    Error while executing the rule session.
    The rule session bpel:1701 failed to execute.
    Check the underlying exception and correct the error. Contact oracle support if error is not fixable.
    17-feb-2008 13:11:45 oracle.bpel.services.common.ServicesLogger __log
    SEVERE: <.>      at oracle.bpel.services.rules.rpi.AbstractDefaultRuleSession.execute(AbstractDefaultRuleSession.java:287)
    SEVERE: <.> Fact not found in the rule engine working memory, rule session execution failed.
    The rule session bpel:1701 failed because an instance of the fact credit_check_br.OUTPUT could not be found in the working memory of the rule session.
    This is most likely a rule modeling error. The decision service interaction expects the fact instance to exist in the working memory of the rule session. Check the rule actions in rule designer and make sure that a fact of the expected type is being asserted. Contact oracle support if error is not fixable.

    I'm not sure what you did to create the rule you are running here. Did you try the Rules chapter of the 105 sample on the TP3 page? That one does work.
    Once you have it working using the sample, try your exercise again and let us know what you did to create your rule. There are many permutations here and we want to know what doesn't work.
    Heidi.

  • TYPELIM and DIMLIST properties cannot be used in business rules

    Hello All,
    We are implementing BPC V5.1.
    We are facing a problem while using properties such as TYPELIM or DIMLIST in "Automatic Adjustments detail" business rules.
    According to the documentation, there are 4 colums where we can use account properties in this business rule :
    - ACCOUNT where we give the account used to trigger the elimination.
    In this field we are able to use account ID, TYPELIM or DIMLIST properties and it works perfectly.
    - ALL_ACC, GROUP_ACC or MINO_ACC where we give the accounts we want to change.
    In these fields, we are supposed to be able to use account ID, TYPELIM or DIMLIST properties. If we use the account ID, it works fine. If we use the TYPELIM property that has been used in the account field to trigger the elimination, it works fine.
    Howewer, we cannot use TYPELIM or DIMLIST if they have not been used previously in the account field to trigger the elimination.
    Has anybody faced the problem before ?
    Is there a workaround (except typing all the IDs of the accounts we want to eliminate) ?
    Thanks in advance.
    Regards
    Romain

    Hello All,
    We are implementing BPC V5.1.
    We are facing a problem while using properties such as TYPELIM or DIMLIST in "Automatic Adjustments detail" business rules.
    According to the documentation, there are 4 colums where we can use account properties in this business rule :
    - ACCOUNT where we give the account used to trigger the elimination.
    In this field we are able to use account ID, TYPELIM or DIMLIST properties and it works perfectly.
    - ALL_ACC, GROUP_ACC or MINO_ACC where we give the accounts we want to change.
    In these fields, we are supposed to be able to use account ID, TYPELIM or DIMLIST properties. If we use the account ID, it works fine. If we use the TYPELIM property that has been used in the account field to trigger the elimination, it works fine.
    Howewer, we cannot use TYPELIM or DIMLIST if they have not been used previously in the account field to trigger the elimination.
    Has anybody faced the problem before ?
    Is there a workaround (except typing all the IDs of the accounts we want to eliminate) ?
    Thanks in advance.
    Regards
    Romain

  • Business rule ..currency translation..

    In the currency translation business rule formula..what is AS-IS-1 refers to.
    I understand AS-IS means historical rate.., but what is AS-IS -1 ?
    What is the meaning of formula like...END u2013 AVG in business rule? Where it is used?
    I have enough documents, links..appreciate your replies...

    Hi Manilyer,
                        I dont know about AS-IS-1???but when it comes to END-AVG...there will some accounts in any consolidation like RESERVES,SHARECAPITAL which will be calculated at END and AVG rate means....
    Lets take..Company "A" bought a 70% share in the Company "B" at a ratei.e AVG rate but when we are doing consolidation of accounts at Year end i.e "END" rate..then there will be diffrence in their consolidation..this called "FCTR" calculation...this is what END-AVG..and it will happen only few account's..
    Hope you got my information...
    Regards,
    Naresh.K

  • Business Rules login failed

    When I try to access to the Business Rules in the EAS Enterprise View (I'm logged as admin), it says
    "Business Rules Login Failed"
    If I go in Shared Services I can't provision additional roles to the admin user because the role related to Business Rules is not present.
    It seems that Business Rules is not correctly configured.
    So what I have to do?
    Thanks.

    Hi,
    1. When you login into Shared services, on left hand side ,you see User directories and Application groups.
    2. Expand "Application groups" , here do you see Business Rules.
    3. You are telling us ,after you have expanded essbase, thats not needed.
    Hope this is clear to you
    Sandeep Reddy Enti
    HCC
    http://hyperionconsultancy.com/

  • Issue with business rule. Failed because the fact have not been found .

    Hello
    I'm trying to execute a business rule inside my process to evaluate a service output. I've been created the rules and have used before succesfully. I got a desicion table which evaluate the entry params and in the actions I've made a new Assert to create and return an instance of en.abis.ns.biasxsd.BIASFaultDetail. Sometimes it works perfectly and in other moments fails.
    I got the following exception. I'm so sorry about the spanish but this is the language the server uses.
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/brValidateQualityScore/brValidateQualityScore_brValidateQualityScore_DecisionService"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/brValidateQualityScore/brValidateQualityScore_brValidateQualityScore_DecisionService"><errorMessage>Error al ejecutar una unidad de trabajo de sesión de reglas, no se ha encontrado el hecho. La sesión de reglas 510027 ha fallado porque no se ha encontrado el hecho ki.abis.ns.biasxsd.BIASFaultDetail o no existe. Compruebe la excepción subyacente y corrija el error. Póngase en contacto con los Servicios de Soporte Oracle si no se puede corregir el error. 510027</errorMessage></errorInfo></part></operationErroredFault></bpelFault>To avoid language problems the error in English is somethiong like this:
    Failed to perform a unit work  of session  rules, not found the fact. The rule session 210027  failed because the fact have not been found ki.abis.ns.biasxsd.BIASFaultDetail, or does not exits. Check the underlying exception and correct the error. Contact Oracle Support Services if you can not correct the error
    Regards,
    isabelbernely

    Have you check if this Variable exist?
    Regards
    Amarnath
    http://amarnath-essbase-blog.blogspot.com

  • Business Rule Design Transformer fails with ORA-00001

    I'm stuck with the Business Rule Design Transformer Utility of Headstart. After running this utility over one BR it is impossible to run it over other BR's because of violation of the unique constraint HST65.QMS_MSP_PK (table QMS_MESSAGE_PROPERTIES). The problem is that the utility tries to insert a record (message, specified in the Notes property of Designer) into QMS_MESSAGE_PROPERTIES with the code "ABI-10000", that was already created by running the utility for the first time.
    Exact error message: "Activity aborted with ORACLE internal errors.
    -1 ORA-00001: unique constraint (HST65.QMS_MSP_PK) violated"
    I'm using Designer 6i (6.5.52.1.0) and Headstart 6.5.1.3
    If someone has any clue about this I would be very grateful
    Cheers,
    Dimce

    Jan,
    The name of the business rule is already in the CONSTRAINT_NAME of the QMS_MESSAGE_PROPERTIES table.
    I already tested by deleting the records in the two tables, QMS_MESSAGE_PROPERTIES and QMS_MESSAGE_TEXT, and ran the utility, but it didn't help either. I can run the utility for one rule, but when I want to run it again at some later point, it fails with this error.
    But, I managed to create rule definitions using the HSU Create Business Rule Design Definition, rule by rule. I only had to add references in the business rule to the used module.
    Dimce

  • Business rule is failed.

    Hi All
    we have an issue with business rules.When they run it from planning web, running fine.But when we attached it to form and run it from smartview with option run on save we are getting messegae "Business rule is failed."Not all of RTP parameters are set".
    plz advice.

    Are some of the variables hidden?
    Is the problem like this one :- Business Rules and "run on Save"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rule Login Failed

    I am trying to run a Business Rule in EAS. However, when I log in to Essbase and when I clcik the plus in front of the Business Rule, it give a message "Business Rule Login Failed"
    Also, when I go to HSS, I do see the item called HP.. under the Business Rule tab. So what could be reason?

    It might be worth going through the following article in Oracle Support - "Troubleshooting Hyperion Business Rules Issues [ID 763345.1]"
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules(Rule Author)-Where to get  Car Rental[car-objs.jar file]

    I am using Oracle SOA Suite 10.1.3.1.0 and Oracle 10 G 10.2.0.3.0, I am learning to use Rule Author and following "Getting Started with Rule Author" link-->"http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b15986/guistart.htm#sthref93"
    however I am getting stuck on one point "2.5 Defining a Data Model for the Car Rental Sample" because I am unable to locate car rental sample file. please help me finding the location of file in SOA suite, If some one has this file kindly send it to me on "[email protected]".
    The Name of the jar file is "car-objs.jar"
    thanks
    Yatan
    Edited by: Yatanveer Singh on Dec 15, 2008 12:28 AM

    hi Guys please help, I am still stuck I have to learn Rule Author in order to work on Business Rules, I am not able to locate car-objs.jar file no where in SOA suite or Oracle 10 g. I am not able to follow the sample provided by Oracle "http://download.oracle.com/docs/cd/B25221_04/web.1013/b15986/guistart.htm".
    If I wont get help form forum then where to get help from??
    Please tell me where to find car-objs.jar file or email me [email protected]
    thanks
    Yatan

  • Where and how to create business rules?

    Hi All,
    1) Where and how to create business rules?
    2) How to configure Rule Engines (Ex: JRULE Engine or any other Rule Engines)?
    3) Whar products are available for Rule Engines?
    Thanks in advance

    Hi,
    You have some options on business rules.
    If you just want to create business rules that are easy for business owners to edit without a lot of training, Oracle BPM has a simple business rules creation and end user edit capability. The benefits to using the rules that come with Oracle BPM are:
    <li> they are simple and easy to edit
    <li> end users can get up to speed quickly to edit them
    <li> when changed, the business process is immediately impacted
    <li> they can use the Oracle BPM business parameters that also come with the product
    Drawbacks are:
    <li> you can only use Project variables as the variable content inside of them
    <li> if a company already has a business rules engine, they are different that the company's standard
    Business rules engines have been used with Oracle BPM. If you are a consultant, first ask if there is a standard business rules engine that the company already has purchased that they use (e.g. iLog from IBM, Corticon...). If this is the case, you typically integrate to the rules using a web service interface that the business rules engine exposes.
    If they do not already have a business rules engine, consider Jrules. The benefits are:
    <li> it is a part of the Oracle BPM Suite that they might have purchased
    <li> version 11g of the Jrules is coming out soon with a friendly front end
    Hope this helps,
    Dan

  • Where can I find the complete Oracle Business Rules Java API Reference ?

    Does anybody know where to get the complete Oracle Business Rules Java API Reference ?
    The version on http://download-east.oracle.com/docs/cd/B31017_01/web.1013/b28966/toc.htm is incomplete. It is missing the entire "oracle.rules.sdk.ruleset" package.
    Ki

    Kim,
    The oracle.rules.sdk.ruleset package is only for internal operation. The public interface to creating rules is oracle.rules.sdk.editor.ruleset , and this is included in the javadoc.

Maybe you are looking for