CalcMgrCmdLineLauncher - Running multiple business rules v11.1.2.2.2

Hi,
I'm trying to automate the process of running multiple business rules.
I have a batch script that execute the following code:
CalcMgrCmdLineLauncher.cmd -f:%PasswordFile% /A:TopRight /U:hyp_admin /D:TopRight /R:TrnAgg /F:D:\Scripts\TopRight-BusinessRules\Budget.xml
pause
CalcMgrCmdLineLauncher.cmd -f:%PasswordFile% /A:TopRight /U:hyp_admin /D:TopRight /R:TrnAgg /F:D:\Scripts\TopRight-BusinessRules\Budget.xml
It will execute the first line successfully, Ii.e. run 'TrnAgg' with the rtp file 'budget.xml'). However, the window closes before it pauses or attempts to execute the second line.
Does anyone know how i can make it return from the first line, rather than closing the window, and then continue with the rest of the script?
I know I can use a ruleset, however they take the default prompt values and i'd like to pass in different RTPs.
Many Thanks,
Jo.

Try using a call or cmd /c before Calcmgrlauncher.cmd
Regards
Celvin
http://www.orahyplabs.com

Similar Messages

  • Interactive activity with multiple business rule transitions

    I use BPM standalone and studio 10g. I create two business rules.
    Business rule 1: amount greater than 100.
    Business rule 2: amount greater than 300.
    An interactive activity has two business rule transitions and an unconditional transition. This activity is set to auto complete.
    In an instance, I set the amount is 400. Then, the instance goes business rule 1 transition.
    If I set this interactive activity to user select transition, the workspace lists 2 business rule transitions and let me to select one.

    Hi Ye,
    Eduardo brings up a good point. When you have multiple Conditional transitions leaving an activity, you can specify the order in which you want them to be evaluated by right mouse clicking the originating activity -> "Conditional transitions order". This is helpful because, even though several conditional transitions can evaluate as true coming out of a single activity - you still only want the work item instance to flow out of the activity via one of them.
    It would be good if you could do the same thing when you have multiple business rule transitions leaving an activity, but unless this has been fixed on a patch that I'm not currently using - you cannot do this with business rule transitions. Unlike Conditional transitions, when you have multiple business rule transitions coming out of an activity and more than one evaluates as true, you have no control over the sequence you want them to be evaluated.
    Guessing you've already done this, but I believe your options are to:
    1) Avoid having multiple business rule transitions coming out of a single activity or
    2) Do what Eduardo suggests and to make sure that none of the rules overlap (e.g. "amount > 100 && amount < 300") or
    3) Do Eduardo's other suggestion and have a cascading list of Conditional activities. Each Conditional activity has one unconditional transition (going to another Conditional activity) and one business rule transition. If the business rule is true, you're done. If it's not true then you continue to the next Conditional activity which also has an unconditional transition (going to another Conditional activity if you have 3 business rule transitions you wanted to evaluate) and a second business rule transition.
    Dan

  • Error selecting oultine in Business Rules v11.1.1

    Hi Experts,
    essbase version: 11.1.1
    I have created a new app in Essbase, and when I want to select this outline when I create a Business Rules, i receive this message:
    Error connecting to Essbase server SERVER/DATABASE
    Detail:com/hyperion/cp/clients/util/UMCParser
    Any idea please?
    Thanks
    Edited by: Remi Grossat on 26-ene-2009 7:22

    Hi,
    Any time I have had trouble associating outlines with Business Rules with Essbase/Planning, it has been down to either :
    1. Services not started in correct order
    2. Security / Shared Services not in sync.
    Your exact message doesn't look to familiar, but I would still check the above, in particular check that you have synched EAS with Shared Services. Eg Refresh Security , and also under business rules refresh user list.
    One recent thing I saw with v11.1.1 is that we couldn't properly associate the BR with Essbase/Planning when logged in as admin, but could when using another Shared Services user, with the appropriate provisioning. I have not had a chance to investigated why.
    Regards,
    Imran

  • Can not run the Business rules with Hyperion Business Rules Desinger

    <p>I created  a business rules with Business Rules Designer,and validate is ok, but when I run it, pop a blank window withtitle "Run Error", how to solve it ?</p><p> </p><p>Thanks</p>

    I would export the rule to essbase and test it there. I should run and the log will tell you something. I would also look at the business rules log to see what it says. <BR><BR>

  • Run a Business Rule from Custom Javascript

    Hi,
    I would like to know whether it is possible to call a business rule from the custom javascript, ValidateData.jsp. If it is ok, any simple example?
    Thanks

    I'd say try running individual rules from Planning and see if they fail individually.
    If that works, then start by adding one rule in the sequence and try running it.
    Try finding out if the issue is specific to the sequence or if a new sequence with a rule that you know runs from Planning.
    When you say there's nothing in the Application log, somehow seems the rule isn't hitting Essbase at all. The error comes before that.
    Cheers,
    Abhishek

  • Does EAS needs to running for Business Rule Migration

    We are having issues with EAS server in one of the env, so it is offline. The user wants to access BR from that env, so EAS server needs to be running for migrating those BR using LCM or LCM would connect with the Database repository for the migration.

    I posted a script years ago that I put together which has been used a few times over.
    You can see the thread at: Exporting Hyperion Business Rules as Text files
    This would require the relational server is up and running. I have used it against many versions of the repository. You may want to look at the writeln code and make sure you have it set to do ascii vs unicode as I think I set it to UTF-8 in original scripts.
    Regards,
    John A. Booth
    http://www.metavero.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

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

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

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

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

  • EPMA Batch Client - Can I launch business rules created in Calc Manager?

    I'm currently on a project where we have implemented an EPMA Planning app (v 11.1.1.2), and we need to schedule business rules to run in batch. In the past, I used the command line launcher to perform this task. Unfortunately, the command line launcher is really a part of EAS, so it would appear that I cannot use this method to launch a rule created in Calc Manager. Is this correct?
    It looks like my other option is to use the EPMA Batch Client. In looking at the "Execute" command in the documentation, it doesn't reference the ability to run a business rule. The docs are fairly limited, so I'm wondering if I really CAN launch a business rule from here.
    Has anyone scheduled a business rule (created in Calc Manager) to run in batch? If so, what method did you use? If all else fails, I can create a calc script and run it from MaxL, but I'd rather not have multiple versions of the code floating around.
    Thanks!
    - Jake

    Hi Jake,
    One of the known issues in 11.1.1.3 is :-
    You cannot launch a business ruleset with runtime prompts from the Planning command line launch (7205464).
    Whether this means you can't run calc manager BR's from command line I am not sure.
    There is no documentation in this area so I assume it can't be done yet.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Calc script, Business rule and business rule macro

    Hi John,
    Can we use calc script , BR sequence and a BR macro against different databases at a single go.
    In one calc script or BR sequence or BR macro itself can i calculate 2 databases

    If possible could you not start every post with my name, there are lots of others helping on this forum and they provide excellent answers
    Calc Scripts run against one database.
    Sequences can contain multiple business rules, in the launch variables you can set the database to run against for each rule (outside of the planning application though)
    Macros are called from a business rule and are run against the database the calling rule is being run against.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error while validating Business rules in EAS

    Hi,
    Iam new to hyperion. I created business rule in EAS (using a user with businessrule admin role). when i tried to validate the same, it gives an error message like *"Unable to validate or run this business rule. Detail:Exception occurred. Please check your log file for details"*. So wats the actual problem.
    Thanks in advance.

    Sounds like you have not added security to the rule. Before you assign security you must set the Location in the Location tab, this is the db you want to run the BR on (you can also use 'Allow all Locations')
    Then you must goto security tab and assign users / groups to the BR, once you have done this the BR should validate and run.
    J

  • Group Security Issue with Business Rules

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

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

  • Problem with balance carry forward business rule and automatic adjustments

    Hi All,
    I faced with issue when run BCF business rule and consolidation process. According sap courses BPC440 members with A(automatic adjustments) type should carry forward automatically, and I(imputable), M (adjustments) members should carry forwarded by bcf business rule.
    When I set up my BCF business rule I use property "Category_for_ope" in Category dimension. But this rule not work properly, then I use notes:
    1784365 - Category_for_ope property should not effect Consolidation.
    1902677 - The property category_for_ope shall work for consolidation
    After applying those notes, system work as I aspect. After i run consolidation first time system carry forward my automatic adjustment from Category "Expected" to "PLAN_Y0" and this is correct!!!. But when i run consolidation process second and third time system duplicated automatic adjustments in Category "PLAN_Y0".
    Someone can help me with this Issue?
    And sorry for my english

    Hi,
    Can you try as follows :
    *RUN_PROGRAM COPYOPENING
    CATEGORY = %C_CATEGORY_SET%
    CURRENCY = %RPTCURRENCY_SET%
    TID_RA = %TIME_SET%
    *ENDRUN_PROGRAM
    hope it helps...
    regards,
    Raju

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase.
    In our system totally,we have 350 users are present.
    when more that 20 users running the business rule,EAS is stopped.

    You can find this in the application property section in planning. Just navigate to Manage Properties and update the JDBC max connections and JDBC Olap connections to your desired number.

Maybe you are looking for