Business Rules won't run

in Essbase 9.3 on Enterprise View, Business Rules, Repository view, Projects NONE of my scripts will launch. i can sort of open and but they won't execute. i can copy but i can't run them. i'm dying here because i have got to copy a version to version
so, question 1 is how to get the business rules to work?
and question 2 is what's the code (i know it's really really simple) to copy one version to another
help!

Restarting services is always a good thing to try, Also I recommend logging into My Oracle Support and having a read of doc id - 763345.1
It goes through different options for resolving business rules issues.
One example to copy version is :-
DATACOPY Working TO Final;
You may want to put a FIX around it to restrict what you want to copy.
More information on DATACOPY is available at :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/calc/datacopy.htm
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • HFM rule won't run against ECA

    I have a very simple rule in HFM v11.1.2 that runs against ECA, but won't execute during normal consolidation, it will only execute by using a force calculate command.  Any suggestions to allow this to run during normal consolidation?  The data in the 1750_3P account is being populated by rules, not by a posted journal.
    Here is the rule:
    If pov_scenario = "ACT" and is_base = True and pov_value = "<Entity Curr Adjs>" Then
            HS.Clear "A#1750_3P"
    End If 'pov_scenario
    Thank you,

    Hi HTM_Ptc,
    What is is_base referring to ? This rule should be run during calculation. Or if it still unsuccessful, would you try using this :
    IF strYEar = " " AND strPeriod = " " AND strScenario = " " Then
    Select Case Hs.Value.Member
    Case "<Entity Curr Adjs>"
    ...[your clear statement]
    End Select
    End IF
    Thanks,
    Anna

  • Entourage rules won't run automatically

    I've crossed the divide and gone to Apple. I get a lot of email and on my pc I kept it all organized as it came in. Now though, with Entourage I can't seem to get the mail rules to run automatically. I have all the rules enabled but they only work if I go to <apply rules> and click on the specific rule. It does nothing if I click on <all rules>. Any suggestions?

    Have the rule run correctly in Entourage before and suddenly stopped working? Or, have they never run automatically?

  • Business Rule using Exclude

    I'm using Essbase 9.3.1, trying to make a business rule work with an exclusion. I can make the rule work with this:
    (@Level_0_Descendants("GROSS EXPENSES")) AND NOT ("1447")
    but I add more than one to the Exclude:
    (@Level_0_Descendants("GROSS EXPENSES")) AND NOT ("1447", "0008")
    The Business rule won't run, looking at the source code:
    Error Code: LAN002
    +Error Args: [Ljava.lang.Object;@43b884+
    ClassName: com.hyperion.hbr.excp.LanguageException
    Exception Encountered "," at line 1, column 148.
    Was expecting one of:
    +<RIGHTPARENTHESIS> ...+
    +"and" ...+
    +"or" ...+
    ClassName: java.lang.Exception
    Syntax error while parsing AFMIC ER&W 51667 - Geo Alloc - TEST.
    Anybody had luck with more than one exclusion?

    Well, I was able to replicate your issue in 11.1.1 -- I don't use the graphical editor very much so there may be something we're both doing incorrectly although I can't see what that issue might be. Maybe someone else can chime in.
    I wonder if it's a known issue -- it's so easy (and obvious) to select more than one member down into that excluded box.
    If it is a defect, it appears to be carried over to 11x.
    Per Glenn's comment, to get around this, you are going to need to do this as a non-graphical BR.
    If this is not the way you like to work, you might think about making the FIX..ENDFIX bits as two macros and then create yet another macro to contain the graphical code in between.
    I am not a fan of the graphical editor because of its generally poor performance and would just write the entire thing as an Enhanced BR.
    Regards,
    Cameron Lackpour

  • Running Business Rules on Composite Forms

    Hi,
    I'm using Planning v11.1.2, and I am trying to get a business rule to run from a Composite web form. The version and entity are the only prompts in the business rule, and they are shared globally on the component forms. If I put the business rule on the component forms, it doesn't even make an attempt to run on save. If I put it on the composite form, it attempts to run, but fails ("An error occurred while processing this page. Check the log for details."
    Shouldn't business rules be able to run from composite forms? If not, why is the option to put them in there? If so, does anyone have any insight into this problem?
    Thanks,
    Sabrina

    Thanks John, but unfortunately, neither one of those is my issue. The first says I can't have the business rule on the base form if I have it on the composite form. The rule is not on the base form, and it still won't run on the composite form. The second one I don't understand at all. The symptom "Business Rules are not running with composite data forms when the 'Run on Save' option is checked". The cause "The Business Rule is not running when it is run from a base form." Huh? This is a cause? The solution: "You need to attach the Business Rule to the composite form, not just the base form." This would seem to indicate that I have to have the rule on both the base form and the composite form. It doesn't work no matter which way I set it up.
    Furthermore, in testing to see what's going on, I tried taking off the hide prompt option, and the rule does not appear to be taking the entity from the page member on the form (it just displays the last entity chosen).
    Sabrina

  • Members on rows, can they be passed to run-time prompt in a business rule?

    Hi!
    I have a input form which has a business rule with properties "Run on Save" and "Use members on Form".
    The business rule has run-time prompts (local variables) as follows (showing only the fix part of br...)
    FIX ([V_Year],[V_Version],[V_Scenario],@LEVMBRS ("Offering", 0),[V_Entity],
    [V_ICP], [V_Account])
    calculation...
    endfix
    Now my accounts are on rows and I would like pass those account members to the [V_Account] variable through run time prompt. The [V_Account] ís a local variable with Type "Members" in Account dimension. I have also selected 0-level accounts as limits. Other dimension members from page/pov seem be passed successfully to run-time-prompts.
    The run-time-prompt does not seem to be able to catch those account members on rows? Is it at all possible to pass members on dataform rows to run time prompts?
    kind regards,
    user637777

    Hi!
    Thanks John!
    I just have live with that and find another way to restrict the calculation regarding those accounts.
    kind regards,
    user637777

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

  • Problem running business rules through forms that are 15+ mins long.

    I just upgraded to 9.3.1 from 9.0.1 and we are having some issues with our business rules. We have business rules that can run up to several hours but the status on the screen ends up timing out with a 'please see planning' log error.
    The error in the log states: Status unknown, calculation context no longer available
    I can tell every second planning is checking on the business rule but after about 15 mins it does not:[9/5/08 19:47:06:810 CDT] 000000c1 SystemOut O state in essMainCalc.getprocessstate = 1
    Even though there is an error I can look at what is running in essbase and see that the business rule is still running. When it finishes it does what it is supposed to do.
    I have tried updating HBRServer.properties to a new timeout but it does not work.
    I am really lost here, can anyone help?

    Hi,
    There are a couple of you have, you can switch business rules to start running in the background after a certain time, the status of the rules can then be checked from planning with the business rules status page
    To set this up :-
    1 Select Administration > Manage Properties.
    2 Select Application Properties to set properties and values for a Planning application.
    3 Add the property by clicking Add, entering the property in the blank row, and entering a value in Property
    Value:
    Enter HBR_MAX_WAIT_FOR_RULE and the interval in milliseconds to wait before running
    business rules in the background. If this property is not set, the feature does not work, and
    business rules do not run in the background.
    Optional: Enter HBR_MONITOR_DELAY and the interval in milliseconds for checking
    business rule status.
    The default and minimum value for both options is 180000 milliseconds (3 minutes). If you
    set a lower value, that value is ignored, and the property is set to the default value.
    4 Click Save and confirm your changes.
    Or you could try installing patch 9.3.1.1.1 or above (it is now at 9.3.1.1.7) from metalink3.
    The patch includes :- (8-665086601) When the Business Rules connection to the relational database is lost, Business Rules does not reconnect to it. To solve this problem, an optional property, HBR_CONNECTION_VALIDATE_TIME, was added to HBRServer.properties. This property specifies a time interval for checking the connection between Business Rules and the relational database. If the connection is not valid, a new connection is established
    I hope this helps
    John
    http://john-goodwin.blogspot.com/

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • Error while migrating business rules

    While trying to use the export/import option in EAS to migrate business rules, we have run into an error.
    The export itself is fine. When trying to import, it says this:(even though it lets me select the proper xml file for importing)
    Error while migrating business rules.
    Detail: The import file specified is not a valid business rules xml file. Import will be terminated.
    Detail:Exception occured. Please check your log file for details.
    I am pretty sure I used the inherent format specified for exporting the business rules.
    Both the old and new systems are version 11.1.2.
    The LCM method also failed for the business rules migration.
    Any suggetions?
    Thanks,
    Sujani

    When you export them make sure you don't have "For Calc Mgr" checked, if you do then the import with fail.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules in Planning 11.1.2.1

    Hi,
    I'm having a strange problem in Planning 11.1.2.1 dataforms. I added a business rule and selected Run on Save, Use members in dataform and Hide Prompt in a dataform. However when I press the save button, the Business Rule prompt appears, and the values of the prompt parameters are not filled with the current page selection (the specific business rule has 2 run-time prompt variables), while I was expecting it to simply start running without showing the prompt and ask the members to the user.
    Anyone knows what could be the problem?
    Thank you

    Its worth having a look at below link:
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch06s09s04.html
    Make sure that RTPs which you have created in EAS are of type Member not Members.
    Cheers..!!!

  • Strange Business rule behaviour in EAS

    Hi,
    We are testing some changes to the caches for a planning app. As part of this a number of business rules are be run concurrently to simulate what happens in production. The business rules, with a large data set, are started from EAS, as they are in production as they are run by admins. The first two start fine but when the third is run one of two things happen.
    1. The first two started show completed after a few seconds while the third one is running
    2. An error saying 'Detail: Cannot Calculate. Analytic Server Error(1013131): Failed to start Asynchronous thread' appears on the 3rd business rule
    It doesn't seem to matter the order the business rules are run in. The same rule is run more than once but with different variables.
    I have restarted planning. I also read about the system properties HBR_MAX_WAIT_FOR_RULE and HBR_MONITOR_DELAY. They were added before my time to resolve the business rules appearing to error but continuing to run in the background. The settings are
    HBR_MAX_WAIT_FOR_RULE: 180000
    HBR_MONITOR_DELAY: 90000
    I would appreciate any suggestions as I haven't seen this before.
    For info, prod is a better spec environment but with lower data and index caches but is slow hence the tuning exercise in UAT.
    Thanks,
    Nathan

    Hi Nathan,
    Are you using SET CALCPARALLEL in your business rule.
    Your log mentions about creating a thread, so I thought if you can serialize in stead of parallelling the calculation, it might work.
    Best regards
    Ali

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

  • Hyperion Business Rules Error

    Good day!
    I have an error every time I validate the business rules in essbase.
    This is the error when I validate the Business rules :
    Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    I have checked the hbrserver log and this is what I found:
    2008-10-24 14:01:58,067 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:01:58,130 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:04:20,674 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:05:08,938 WARN [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Error authenticating user in UserServerManager.
    2008-10-24 14:07:04,358 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.UserManagerServer - Error authenticating user in UserServerManager.
    2008-12-05 17:17:08,672 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-05 17:17:09,047 WARN Thread-16 com.hyperion.hbr.db.DBConnectionManager - Removed bad connection from Connection Pool: vincentp.misnet.com.ph14331cp_tools
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:45:42,502 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:45:42,518 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1_1/IncStmt for user admin.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:46:41,152 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 10:47:34,815 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Exception occured: 25:1065:Identity: admingroup, is invalid.
    2008-12-15 10:47:34,830 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving group by identity
    2008-12-15 10:47:41,599 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    2008-12-15 11:01:05,637 WARN [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.core.AccessControlManagerServer - Unable to run or validate this rule (VSHI1_CopyData) against the following location: Essbase/vincentp.misnet.com.ph/VSHI1/IncStmt for user admin.
    Sorry for the long log message.
    I am using the admin user. Is there a possibility that the admin has no privilege for the business rule? (Which is unusual because it should have all the privileges).
    Can anyone tell me how to fix this issue?
    Thanks in advance.

    I think you have to give access even to the admin user to validate/run a business rule
    try giving access to that rule and then validate

  • Business rule, runtime prompt problem

    Hi Gurus,
    We have one business rule which contain run time prompt where global variable assigned to it, when I run the rule form workspace I would able see all numbers from prompt window
    But when I run the same from Excel Smartview, I couldn't able to find all members from prompt windows.
    I was wondering what would be the cause?
    Thnx.

    Hi Amit,
    The person running the rule will need to have read access to both cost centers in order to transfer otherwise as you have seen the prompt will be invalid -- when select the prompt you should find the cost center that have no access to do not appear in the prompt itself. If you a value that the prompt does not make available then it will error out.
    If you do not want to provide read access to both cost centers, you may be able to setup a multi-step process with a transfer out by a previous owner and transfer in by the new owner using a temporary cost center both have read access to -- workforce planning uses both (one step and two step) depending on how your security is provisioned.
    Regards,
    -John

Maybe you are looking for