Executing Business Rule / Calculation from Excel - Essbase

Hi All,
Currently I am trying to run the calculations / Business rules from essbase after locking and sending data. I am using the below code to run the business rule / calculation from essbase.
Sub RunBusinessRule()
On Error Resume Next
X = EssVCalculate(Empty, "AggFlash", False)
MsgBox "Business Rule executed successfully"
End Sub
The issue is that my code gives me a message that the business rule is executed successfully but the rule keeping running in the background for some time. Actually i need a code which will check the status of the process of calculation and when it actually gets completed I should get a message that it's been done. Please expedite.

Hi,
I take it you mean calc script and not business rule as really they are separate.
The reason you get a message straight away is because you have the synchronous parameter set to false, if you set it to true it should not return until it is comple
e.g.
X = EssVCalculate(Empty, "AggFlash", True)
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Admin rights to validate/execute business rules

    Hello everyone,
    we set access priviliges and administration rights in shared services by assigning users to particular groups. We assigned two users to the administration group 'hypadmins' who now have access to all applications. In Essbase they can access applications, affect changes in the outline, validate the outline etc. However, they cannot validate or execute business rules (Error: Cannot connect to server). The problem does not persist when connecting to the server using a different (existing) admin user. The access priviliges for all rules are set to the admin group 'hypadmins' (and no other). Can anyone help with respect to identifying the source of the problem?
    p.s. Can anyone explain what the Essbase Native Security Mode is?
    Thanks in advance
    Florian

    943380, I'm not picking on you, and I am glad you found an answer to your issue. My ire is saved for whoever thought that a blog equals copying knowledgebase articles from Oracle Support and sticking it on his blog. Why oh why oh why do I even bother paying support? And I suppose why oh why oh why do I kill myself writing blog content when I could just "borrow" it word for word from Oracle?
    Regards,
    Cameron Lackpour

  • HFM 9 Business Rule Calculation missing roll up members

    Hi,
    I could use some help with this one.
    I have a business rule calculation that is simply copying a value from one account to another account with different C4 values.
    HS.Exp "A#CFAdjEBITDA.C4#CFCalc = A#AdjEBITDA" & Tops
    I have done this type of calculation dozens of times and it always works. Now, this time it does not.
    The account AdjEBITDA is a rollup of two accounts that are also rollups. The answer I get is the value of the first base level child in the first account rollup. I took the class on business rules many years ago and I seem to remember that this was a known issue. However, I of course cannot find any notes I made on the problem. I only remember us talking briefly about it and that there was an easy solution. Which of course, I cannot remember either.
    Is any one familiar with this problem or has run into it before?
    Thanks,
    James

    I have never seen HFM not pick up values from a parent member. It really should work. This requires a little debugging on your part. If you have ever used "WriteToFile" which most applications do, then you can write out the expected value to a file to get more insight as to why this is failing. Here is an example:
    nTheNumberIWant = HS.GetCell("A#AdjEBITDA" & Tops & ")"
    Call WriteToFile("This the the number I'm trying to get: " & nTheNumberIWant)
    The output of the WriteToFile subroutine should be:
    This the the number I'm trying to get: 25
    If you get a null, such as
    This the the number I'm trying to get:
    Then you have a problem with the target intersection.
    If you don't already have a WriteToFile subroutine in your rules file, you can see an example in the rules of the Comma sample application that ships with HFM.
    --Chris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Launch business rules simultaneously from multiple different locations?

    Hi All, Thanks in Advance !!
    I need to launch business rules simultaneously in Hyperion planning from different multiple locations..
    So ,Is there any trouble if i launch a business rule simultaneously from 4-5 locations on same planning application through workspace.
    Thanks
    Vivek Jaiswal

    If you are running the same business rule multiple times then it is trying to calculate and access the same section of the essbase database or are using different RTPs, is this really what you want to do.
    You can certainly run multiple rules, I take it you are doing some sort of load testing.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Business Rules Migration from one server to other server

    Hi All,
    Can some body help on business rules migration from one server to other server? and also wt is the difference there in Export and import BR's and Administration repository to migrate.........i fail to understand if we export and import br's and need to change in xml target server and after import whether all users can able to see this imported BR's ?
    then wt is the use of Administration option under Business Rules-->right click-->repository...connect--->need to connect oracle info....wt is this process? can some body help on this please........
    thanks,
    huser

    Hi,
    The methods are pretty much the same in what they do.
    When you export rules it creates an xml file based on the selection you have picked, you can just log into EAS and do this you don't have knowledge about the repository, it is also useful for migrating across versions. You also have the option of changing the xml file before importing it into your target.
    When you migrate the respository you have to physically connect to the database repository and have knowledge of the connection details, it is probably aimed directly at a system admin.
    The options in both methods are pretty much the same, you can choose what you want to export or migrate.
    You hit issues when you export/migrate for instance the location names change and need to be updated, you can update the xml file to change the locations though if you choose the migrate option you won't have that ability.
    The next issue is the user/group accounts which is the biggest flaw, if the users/groups exist on the target and have the exact same SID then they will migrate otherwise they will usually get dropped.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Issue with executing Business Rules from Planning web

    Hi,
    We are using Hyperion Planning 9.3.0.1 and we keep getting an issue with the Business Rules. We get an error if we try to run the rules from Planning web. The same rules validates and executes fine if we run it from AAS. This issue gets resolved if we restart the Planning and RMI service. But this issue keeps happening randomly. Is there a permanent resolution to it? Is it a bug or I am missing something here?
    Thanks and Regards,
    Amol
    Edited by: user638718 on Apr 7, 2009 5:20 PM

    Hi,
    Have you installed any of the patches for 9.3.0.1, I think it goes up to 9.3.0.1.09
    One of the fixes was :-
    8-665086601 (6588823) – 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. The time interval is specified in milliseconds and defaults to 300,000 (five minutes).
    Though I know there has been more attention to fixing known issues on 9.3.1 than 9.3.0.1
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while executing business rule "Please increase CalcLockBlock setting"

    Hello,
    An error is occouring when I execute a particular business rule. The following message appears when I view the error from Job Console:
    "Dynamic calc processor cannot allocate more than [100] blocks from the heap. Please increase CalcLockBlock setting and then retry"
    No such error is occouring when I execute any other business rule.
    Can anyone please tell me how to resolve it?
    Regards,
    Sa'ad

    Hi Sa'ad,
    in the business rule your getting the error message is a calculation, where the result needs more than 100 blocks to access to.
    The error comes from three possible causes:
    1. Lockblock setting is low (essbase.cfg)
    2. Your data cache setting is to small
    3. Block size is to large
    I think you have to increase data cache settings (by default 8192 KB) to.
    Cheers
    Uli
    Edited by: Uli Drexelius on 13.07.2011 14:23

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

  • Business Rule / Calculation

    Hi All,
    Need some clarification regarding the essbase calulation.
    Below is the scenario.
    I have the below hierarchy:
    Account XYZ - 500
    Acc1 - 250
    ACC2 - 150
    ACC3 - 100
    Say for example that my calc script/business rule runs for 30 mins. Before previous aggregation Account XYZ has a consolidated value of 500.
    Is there any chance that the account XYZ shows a different value if I try to retreive the data while my calc or rule is running. I haven't changed the values for Acc1, Acc2 and Acc3.
    My calc runs 3 times a day and a users has reported that they have seen the value for XYZ showing different value other than 500 which it ideally should be.
    Is there any such possibility thar essbase displays a diffrerent values at the time of calculation or is this the behaviour of Essbase???

    As I undestand ACC1-3 are level 0 members. And how about other dimensions? Where do your digits are stored (250, 150, 100). Is it a level 0 block?
    Suppose you have ACC1->version1->scenario1->USD->Year1->Entity1->Period1->CustomDim11->..CustomDim1n=250
    Which of above members are aggregated?
    Also look at the transactional property of your Essbase db (which stores your digits). Is it Commited access or uncommited, what is the value for Synchronization point

  • How to Trigger / execute a rule directly from an XML form?

    I am in the process of customizing User Forms, and I would like to implement a trigger (if that's the right name for it) in the XML script, which will execute a Rule (or some code) that will result in an email being sent.
    For example, the following simple script (selection from a dropdown menu) :
    *<Field name='orderlunch'>*
    *<Display class='Select' action='true'>*
    *<Property name='title' value='Order Lunch'/>*
    *<Property name='allowedValues'>*
    *<List>*
    *<String>- Please Select -</String>*
    *<String>Yes</String>*
    *<String>No</String>*
    *</List>*
    *</Property>*
    *</Display>*
    *</Field>*
    A small XML code, to indicate an order for lunch.
    naturally, if the user selects "No", then nothing happens.
    But, if he selects "Yes", then I would like to automatically send an Email Notification to the appropriate person, notifying him that lunch has been ordered. (of course, I would need to indicate such things as WHO ordered the lunch, WHEN, etc, etc. But, I will get into that later)
    Does anyone know how this can be done?
    (a) Could I insert the trigger/condition/whatever right into the main XML script itself?
    Or
    (b) should I write a code which will call on/invoke a separate Rule, which will subsequently send the email?
    If (b) is the right answer, then how would I go about creating such a Rule, and linking it to the main XML script?

    In your Wf or subprocess call the activity notify .testemaillist contains the list of users for whom the mail need to be sent .
    <Activity id='1' name='Notify'>
    <Action id='0' process='Notify'>
    <Iterate for='email' in='testEmaillist'/>
    <Argument name='template' value='emailtemplatename'/>
    <Argument name='to' value='$(email)'/>
    </Action>
    </Activity>
    I hope this may help you

  • Invoking business rules 11g from Java application

    We have SOASuite 11g running on weblogic and have read through documentation/played with Oracle business rules
    We want to utilize business rules engine within our Java web applications deployed to glassfish server (Non SOA application). Is this even possible and does anyone use it in this way? Any pointer is much appreciated.
    What are the libraries like Oracle rules SDK that I need to include in the classpath of Java web app?
    This link assumes that web app is co-located in the same weblogic instance running SOASuite and doesn't help my case.
    http://docs.oracle.com/cd/E23943_01/user.1111/e10228/non_soa.htm#BGBBCICB
    By using it within Java application, we want to able to make local calls as opposed to calling a decision function as web service. Volume of actual rules and their usage is so high within our Java app. Also we want to take advantage of java beans defined in our business layer by using Java facts and without having to define XSD for XML facts.

    I had seen the blog, It explains how to test business rules by loading the dictionary from static rules file.
    my requirement is to invoke the business rule engine running on the SOA server, from the application module. can you please help me in this.
    Thanks inadvance.
    -Murali

  • Problem executing Business Rule in BPM 11g

    I've createad one business object CPFBObject which contains several attributes. My requirement is that if relationship is parent the it goes to human task otherwise to end. for thet I've written the business rule which is as not working properly. Please suggest what to do?

    Hi
    I do not know why business rule is not working. But, if "relationship" is an attribute of the Business Object "CPFBObject", then you can also use an exclusive gateway to perform the conditional branching logic. See this example image: http://imgur.com/AhePz
    Regards.
    Daniel

  • Essbase Error(1200370) while executing business rule

    Hi,
    I am getting the error - Cannot calculate. Essbase Error(1200370): Error executing formula for [Average] (line 15): attempt to cross a null member in function [@X]
    on executing the following script-
    FIX(@RELATIVE("AltHierarchyProducts",0))
    FIX("FY13","Draft1","Budget")
    "Average"= @MEMBER(@CONCATENATE("P", @NAME (@PARENT(@CURRMBR ("Products")))))->"Variable" * (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    ENDFIX
    ENDFIX
    "Variable" is an account dimension member. When I remove the '->"Variable"' part, the script executes, but obviously gives no result since the account member is missing.
    I have read a lot of posts on this error but could not resolve this issue.
    A basic view of the hierarchy is as under -
    Products -
    AltHierarchy
    --Cat1
    ---Prod1
    ---Prod2
    --Cat2
    ---Prod3
    ---Prod4
    PCat1->"Variable" and Pcat2->"Variable" are the placeholders where the variable values are stored.
    Please help.
    Thanks.
    Note: I am using Essbase 11.1.2.1

    Is it possible that your @MEMBER function never actually returns anything. You have assumed that it works but perhaps it never works and it is only when you add the cross-dimensional operator that the issue becomes apparent.
    e.g. If it is not working:
    Without cross dim: "Average"= @MEMBER()* (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    I'm not sure but perhaps the above will return something like #missing* (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3)
    With cross dim:
    "Average"= @MEMBER()->"Variable" * (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    Which I would assume would fail.
    Do you see what I'm getting at? You could test that theory fairly easy.

  • Business Rules security from EAS throwing error while adding locations

    Hi,
    Currently we are trying to provide security to the BR's from EAS. As a part of which, we are trying to add location to the BR's. When we expand the Planning node on Locations, it throws the error, "Cannot connect to the Planning server <server name>". When we expand the Essbase server, we do see the application and database, but after a long time, around 10 mins.
    After a call with Oracle, we have restarted the services RMI, EAS and planning in the sequence suggested. Also checked the RMI service, its running fine as well. Below is the error from hbrclient.log
    "2011-08-06 20:41:58, 076 Warn AWT-Eventqueue -0 com.hyperion.hbr.core.metadatamanagerserviceremote - cannot retrieve connected rppt element for planning/a01gidssapp2a"
    Hbrserver.log doesnt have any error. We also have performed reconfiguration of Planning services, but still no help.
    Appreciate if someone can help us resolve the issue, since we have to release the servers for Planning by tomorrow. Thanks in advance.

    I assume that you are using BR as calculation module.
    1. Try creating a new test user say HBRADMIN,
    2. Provide him the admin access to BR, Essbase and Planning App,
    3. Log into Planning Application,
    4. Check the HBR Plugin Data table in EAS schema/databse, see if there is any entries in that table,
    5. Now, Log into EAS console,
    6. Try creating a test BR,
    7. Select outline,
    8. Select Location,
    9. Add access.
    If there is no entry in the HBR Plugin table, try making a manual entry, below is an example:
         HP11113     11333     App1     HP11113     admin     AABPAAANAAEKAAEHAABPAADOAAAIAAFG     8/7/2011 1:05:16 PM
    AABPAAANAAEKAAEHAABPAADOAAAIAAFG is an encrypted password for 'password'.
    Cheers...!!!

  • Execute Oracle Stored Procedure from Excel

    Is it possible to execute an Oracle Stored Procedure from Microsoft Excel and return the result of the Oracle Store Procedure into the excel spreadsheet.

    Yes. You can use Oracle Objects for OLE to accomplish this. It comes with Excel examples and an online help file with many more examples.

Maybe you are looking for

  • How to set user flag for a local windows user account.

    In my C# client I am getting the directory entry of the user in the following way : DirectoryEntry userDE = new DirectoryEntry("WinNT://machinename/User12", "MachineName\\Administrator", "Password"); I want to add a userflag to this user. I tried the

  • HT4943 problem with newsstand

    I've upgraded my iPad to iOS 8.0.2 and I cannot open any of the magazines I purchased (and paid a lot of money for). I use these magazines frequently and need them for my work. When will this be fixed? Also youtube doesn't work.

  • Is anyone else having difficulties with the Appstore not loading, iTunes store being unresponsive, and iTunes radio being down constantly today?

    My itunes store is having connectivity issues and my net connection is fine.  My appstore is also coming up blank rather frequently as well.  Also I have not been able to get my itunes radio to work - saying an internet connection problem - again not

  • Refused subscription

    HI this is elias (cabrowncito) I just noticed that my automatic payment for a 3 month subscription was refused and as a result I've been playing high rates when calling to Mexico,  also when making calls from my phone its been using my plan minutes a

  • The iMQ 2.0 restart command isn't doing what I want.

    I have installed the imq 2.0 on solaris 8 on a single host. jmq broker is installed by following the admin guide. When I tried to use jmqcmd shutdown bkr. It is shutdown without any problem. Then I use jmqcmd restart bkr to restart the jmqcmd It come