Running Business rules thru MAxl

Is it possible to run business rules through Maxl. If yes how do I pass parameters to the business rule, if I am running it thru a Maxl script?
Thanks in advance.
Edited by: user10771273 on 30/04/2009 23:33

What, you guys aren't using graphical business rules? :)
I am currently working with a long time Essbase consultant who is new to Planning. He had coded his HBR as a calc script, and was ready to port it over to Planning/HBR.
The expression on his face when he first looked at the graphical interface was priceless.
I tried to explain about the early beginnings in HAM (Hyperion Allocation Manager), and how much better HBR is today than it was when it was graphical-only, and...I just gave up and showed him how to make it an Enhanced Calc Script.
We are all looking forward (?) to Calc Manager.
Regards,
Cameron Lackpour

Similar Messages

  • Running Business rules thru MAXL(or CmdLnLauncher.bat utility)

    I want to run the Business rule. Daily 3 times(Like automation) in 11.1.1.3 version
    Refering to the forums
    Running Business rules thru MAxl
    .RTP file format
    i found its not possible through Maxl.
    But I was not able to understand clearly how to do the process atleast through "CmdLnLauncher"
    Where can i Find the utility Folder
    and Where and how do i need to write the script to run Business Rule(I also wanted to use the Runtime Prompt)
    Note : i went to EAS --> Right click on BR--> Automatice BR --> Saved the File in desktop with .xml file

    The utility will be on a machine where EAS has been installed, it will be located at <HYPERION_HOME>\products\essbase\eas\console\bin
    The post you linked to .RTP file format has all the details on running it.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error connecting to Essbase Server when running business rules

    We recently migrated from v9.3 to v11.1.1.3. I have two users with Administrative access who need to run business rules on a native Essbase application, but cannot. They get the message 'Error connecting to Essbase Server'. They get this message when trying to set this execution database. They can't even expand the server to see the list of applications. I have tried deprovisioning them in Shared Services, refreshing security, then adding it all back in and refreshing again, but it doesn't work. My own id has identical access to that which I'm granting them, and I have no problems. I even created a native user with the same access and it works as well. No matter what I do, I cannot get these two users to be able to run their business rules in EAS.
    We also have a Planning application, and the Planning Administrative user has the same issue. However, this user is able to get around it by running rules using the Planning connection rather than the Essbase connection. She has the same issue of not seeing anything under the Essbase Servers when trying to set the execution database though.
    In version 9, we were not using Shared Services for Essbase security. Unfortunately our consultant chose to set it up using Shared Services security when migrating, and according to the documentation, one cannot go back to using Native Essbase security.
    I also tried running the Externalize Users wizard and the three users with issues failed to externalize. My own id did, and the native user I created succeeded.
    Has anyone experienced an issue like this or have any ideas on how to resolve?
    Thanks,
    Sabrina

    Follow up - Oracle has finally resolved this. It's so simple, yet no one thought to check until now. The three users with problems all have mixed case user id's in ldap. They have always logged into EAS with all lower case ids. In version 9, on native security, this was never a problem. But in version 11 using Shared Services (not sure which factor changed it), it doesn't work. The simple solution is to log in with their exact mixed case user ids. It only took Oracle three months and the creation of a bug issue to figure this out for us.
    Sabrina

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's
    We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
    Network error []: Cannot Get Host Name
    The following is then logged in the Essbase Application logs:
    Local/Application/Database/admin@Native Directory/Error(1042022)
    Network error []: Cannot Get Host Name.
    A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
    The environment is 11.1.2.0 and the architecture is as follows:
    Server 1 - MS Server 2008 x64:
    Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
    Server 2 - MS Server 2008 x64:
    Essbase Server
    Server 3 - MS Server 2008 x64:
    Framework Services, FR Print Services
    We have tried doing the following:
    1. Put in the server host names into the hosts file on the Hyperion Servers
    2.  Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
          - Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
         - Added a new DWORD Value named MaxUserPort and set it to 65534.
         - Added a new DWORD Value named MaxFreeTcbs and set it to 6250
    3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
    4. The Essbase Config file has the following settings:
    NETDELAY 2000
    NETRETRYCOUNT 2500
    Has anyone come across this issue and if you managed to resolve it, how did you go about it.
    Thanx

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • Error 1200323 after long hours of running business rules?

    Hi all,
    I am experiencing some problems with running business rules....
    I got a sequence which includes about 20 business rules to run....
    After several hours of running this sequence, it shows the errorcode: 1200323, which said that "Error parsing formula for [REGION DEFINITION] (line 1): expression expected after [(].
    However, worst of all, this error does not always happen. Sometimes, I could run this sequence successfully without any error happening.
    Any one experienced the same problem before?
    Any suggestion are welcome and appreciated....
    Thank you,
    Casper

    Gregg Stewart wrote:
    ...my iMac screen has this low audible hiss and pop, then afterwards it has a difficult time redering images even images from the web, and only after being powered down overnight does it appear to do better.
    I also play a 3d video game from time to time while in the Windows 7 Bootcamp mode, and it appears the problem happens sooner when doing that.
    You have a defective video card, take it in for service.
    Run a hardware check by holding the d key down (for a long time) when rebooting, wrtie down what it says if anything.
    If you didn't buy AppleCare, you have 1 year from the day of purchase to do so, it's highly recommended as the iMac's all in one design is prone to issues with heat, and it's not modular so one part goes down requires the entire machine to be brought in for service.
    IMO, I never recommend a iMac expect to very light desktop consumer type users, heavy business users I recommend a MacPro this way they can switch parts and keep on going, unless they are a rich buisnes that can afford to have another iMac on standby. 

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

  • Can not run business rule with bat file

    Hi all,
    I've problem with using *.bat file to run business rule. My Essbase version is 11.1.1.3 and the syntax within
    *.bat is simple, but I always got the Usage message and can not execute the rule.
    The error result as blow(I already execute the syntax in command panel directly):
    C:\Hyperion\products\Essbase\eas\console\bin>CmdLnLauncher -SWILSON -Usynadmin -P111111 -r0004_COPYDATA
    Usage: CmdLineLauncher [-p:<passwordFile>] -Sservername -Uusername [-rBusiness R
    ule Name | -sSequence Name] [-fRun Time Prompts file] [-validate]
    My *.bat file content as below:
    cd c:\Hyperion\products\Essbase\eas\console\bin
    call CmdLnLauncher -SWILSON -Usynadmin -P1111111 -r0004_COPYDATA
    Is there something wrong? If anyone know about this problem, please help,thanks!!

    Hi,
    Here is a brief overview on how to use the command line launcher.
    You can create a file and put the following information into it filling in the servername,app name and db name
    ExecDB::"Planning/servername/appname/dbname"
    Save it as .xml file (don’t think it has to be an xml, could be .txt), so something like connect.xml
    Then when you run your command line do exactly like before Cmdlnlauncher -Sservername -Uusername -p:password.txt -rrule -fconnect.xml
    If you have variables in your rule you can
    In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
    You just need to reference the xml in the batch script as described above using the -f parameter, for sequences remove -rrule and use –sSequence
    update password.txt to the name of your password file.
    Cheers
    John
    http://john-goodwin.blogspot.com/
    Edited by: JohnGoodwin on Apr 30, 2010 8:17 AM

  • Running Business Rules with global Variables in Composite Forms

    Hi,
    I am having trouble running Business Rules, that include Global Variables, in composite forms.
    I have two forms in the composite form, both have entity in Page dimension set to 'local'. one includes entities at level 3 and the other has entities at level 0. I need to pass this level 0 entity to the business rule, from the form.
    When i try to run the rule, it gives me the following error:
    "This rule cannot be launched because it has hidden rtp variables without default values "
    I get this error even when i set the default value for the global variable.
    This rule runs perfectly when run from the individual form (which is part of the composite form).
    Please help.
    Thanks.

    Known Issue: 9900514
    The Use Members on Data Form and Hide Prompt options for business rules attached to composite data forms apply only for runtime prompt values from the globally shared pages and POVs of a composite data form. In other words, this will only use members that are shared across all component data forms. If users want a business rule to take context from a single component data form, they should attach the business rule to that component data form and include the business rules for that component data form at the composite data form level (<Business rules for componentX>).
    Please let me know if this is not what we are talking about.
    Thank you,
    Todd Rebner

  • Howto start a Business Rule with MAXL

    Hi,
    I want to start a Business Rule over a MAXL Skript. I dont find anything about this in the Documentation. I only found execute calculation which starts a calc script.
    Can Anyone tell me the right command ?
    Thanks Kevin

    Hi,
    I guess you can not launch the BRs from MaxL. But you can automate the process of running the BRs in a bat file using the CmdLnLauncher.exe utility which runs the BRs. Following is the syntax of calling this pogram in batch file :
    "C:\Hyperion\eas\console\bin\CmdLnLauncher.exe" -Sserver1 -UUsername -
    Ppassword -rappname -fRtpfilename
    You need to update the above path with your HBR installation directory. The Rtpfilename is the file which will contain the name of BR and the runtime prompts. You can create this file by opening the BR and select the option "Automate Runtime prompts"
    Hope this helps.
    Regards,
    - Sandeep

  • Error while running Business Rules and Calc scripts

    We are trying to run calc script in a report and we received the error saying that " An error occured while running the specified cacl script.Check the log for details", we received the similar error when working with Business rules.
    This started when we tried to point JVMMODULELOCATION in essbase.cfg to null from its existing link to a java path.
    This error persists even after we changed the config file to its original one.
    Hyperion 9.3.1
    Oracle 10g
    Weblogic 9
    Solaris 10 64 bit
    john , please help. i will provide ytou with the exact error messages.. please tell me what this means ---> This started when we tried to point JVMMODULELOCATION in essbase.cfg to null from its existing link to a java path
    what is that JVMMODULELOCATION for??
    thankyou,
    Rciky

    Hi,
    Here is details on what the JVMMODULELOCATION is :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/techref.htm
    Cheers
    John
    http://john-goodwin.blogspot.com/

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

  • Opening Balances changes when running business rules

    Good morning,
    We are experiencing problems with the opening balance calculation (Flow: F100) when running the consolidation business rules in BPC 10.1.
    For example, in 2013.12, Entity 1111 and Account C_ENL_DIV, the ending balance (Flow: F900) is 180.000 euros. When we run the copy opening balance package, the opening balance (F100) for 12.2014 is 180.000 euros, what which is correct.
    The problem comes when some consolidation rules are executed, for example, AU_DIVCTA. For the previous case, we can see that the opening balance changes, previously it was 180.000 euros, coinciding with the final balance of 12.2013 and now the cell is empty, what which is incorrect. This occurs for more than one business rule.
    The definition for the AU_DIVCTA business rule, is the next one. You can see that this do not affect to the opening balance in any case.
    We attached an Excel where you can see this and much more similar cases the definition for the business rule AU_DIVCTA:

    Hi,
    Looks like the substitution variables its looking for are missing.
    Can you check that?
    Regards,
    Amol

  • 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

  • Excel 2010 locks up when using Smartview to run Business Rule

    I've been testing Smart View 9.3..3 with Excel 2010.
    If (from within Smart View) I navigate to Hyperion>Calculation Options>Business Rules, Excel locks up and only an 'End Process' will close it down.
    As a workaround the Rule that the user needs to run has been attached to a Form & this works correctly, wondered if anyone else had seen this ?
    Thanks

    re:  more excel crashing
    Well you asked about other ideas so...
    1. Turn off Auto-Save
    2. Turn off file-sharing
    3. Locate the XLSTART directory, move everything there someplace else.
    4. You disabled all add-ins, but does that include Com add-ins and the other flavors.
    5. Does the user have an anti-virus app installed - disable it.
    6. Doug Robbins (Word MVP) has an exhaustive list of problems/solutions for crashes in Office 2013.
        There will be overlap with Office 2010...
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-customize/something-went-wrong/b178f08f-3f59-4938-8f39-2af189bffd44
    7. Don't know anything about it, but another idea ...
       "Fix a corrupted user profile"  http://windows.microsoft.com/en-us/windows/fix-corrupted-user-profile#1TC=windows-7
    Wish you good luck
    Jim Cone

  • Running Business Rules with Decision Service using WebDav

    Hello everybody, I have a problem when I change a rule from Rules Author.
    I have the following scenario:
    Machine1 - I have Oracle Soa Suite 10 and I have defined a rule set using Rules Author pointing to a WebDav repository on Machine2
    Machine2 - I have define my WebDav repository, it contains the rule "amountToPay > 100"
    Machine3 - I have a deploy of a BPEL process using a Decision Service and Decide Activity elements pointing to my WebDav repository
    When I test my BPEL process it works correctly, but after I change the rule in Rules Author (on machine1) to "amountToPay > 200" the next invocations of BPEL process still evaluating the rule "amountToPay > 100" and doesn't evaluates my last changes on the rule, and I need to redeploy my BPEL process so that it takes the new changes on the repository.
    I am using Assert facts, execute rule set, retrieve results, and reset the session operation pattern in decision service and assertExecuteWatchStateless in invoke activity. I tried using assertExecuteWatchStateful as well but there was no difference in the result, any idea of that?
    Does the BPEL process needs to be redeployed?
    What can I do so that my rules take effect?
    I've searched for documentation but I couldn't find any solution.
    Thanks in advance.
    Luciano
    Message was edited by:
    user606994

    Hi,
    I am new to Oracle Fusion and working on Business Rules.
    Can you please tell me the changes need to be done in the sample java application to connect to the webDAV repository(carrental example which they have given in user guide)?
    Thanks in advance.
    I am using 10.1.3.1 version.

Maybe you are looking for

  • How to show at least one "0" before decimal ?

    Sometimes numbers are displayed which are lower than 1 e.g. 0.034 (=US format) However when they are displayed in sqlplus then they are shown as .034 How can I achieve that in such cases one 0 is prepended so that 0.034 is shown?

  • How can I access old Entourage emails to import them into Mac Mail after upgrading to OS Lion?il

    How can I access old Entourage emails to import them into Mac Mail after upgrading to OS Lion? I don't really want to go back to Snow Leopard in order to access the old Microsoft Applications, but they simply aren't supported in Lion.

  • Can't Register Quicktime

    I got a new Mac Mini last week. For some reason, Quicktime never showed up on the preference pane, therefore I cannot add the code I purchased to upgrade it to Pro. I ended up going to another site, and it said a quick fix is to reinstall Quicktime.

  • Printing is slow in adobe

    Greetings, We are having a large scale deployment issue with a new model Canon printer.  Printing is extremely slow when trying to print from Adobe. We have two different type of printers: Ricoh & Canon With Ricoh everything works great.  With Canon

  • How to delete TV shows that are pending downloads? Don't want them!

    How do I delete pending downloads from my iTune account? Don't want them, but they persist in wanting to be mine.