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

Similar Messages

  • Business rules from epma to planning

    Hi,
    In EPMA version 11.1.12 I am having an issue with business rules. I wrote and deployed a business rule from EPMA to planning and everything was fine, the rule ran on save in the data form.
    Now, I tried to run the rule a few days later and it won't run. I tried to remove and re-add the rule, but now its not visible. In planning, I can't see 'business rule security' in the administration drop down.
    I deployed the application and all the rules and everything is successful, but still nothing in planning. In another application the rules are there.
    How could a business rule disappear from planning and not show up again when it was deployed? Any help is appreciated. Thanks,
    Dq

    We sometimes see similar issues when the services are recycled in the wrong order. Perhaps a service failed or was restarted (after you had been successful in running the business rule from Planning)?
    - Jake

  • While running FBL5N (Business area wise) customer code and customer names a

    Hi Gurus,
    While running FBL5N (Business area wise) customer code and customer names are not appearing.

    Hi Raju,
    Please click on the change layout screen button on the screen of FBLN5N report. then select the fields customer code and customer name from the right hand side table and drag it to left hand side table.
    After that run the report again. it will appear. please assign points.
    Rgds
    Manish

  • 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

  • Error opening business rule from AAS

    Hi,
    I'm unable to open business rules from AAS console associated with one of the Planning/ Essbase application. This particular planning application is also not showing up when I try to "select outline" for the business rule. The business rules for this particular application are running fine from Planning web application.
    Error retrieving Planning application app_name on server server_name.
    Detail:Exception occurred. Please check your log file for details.
    hbrserver.log randomly shows one of the two errors given below:
    2010-06-15 16:02:56,469 WARN [ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error retrieving Planning application app_name on server server_name.
    or
    2010-06-15 15:28:22,094 WARN [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Cannot retrieve connected root element for Planning/server_name/app_name/database_name
    There is no issue with other business rules which are associated with other applications.
    I have tried restarting EAS service but that didn't fix the issue. Also, i reckon this problem came up after I manually deployed 64 bit weblogic for EAS. On other environments where tomcat is being used there are no issues at all.
    Thanks in advance.

    I take it you have tried the standard process of :-
    Stop Planning,EAS, RMI services.
    Start RMI,EAS,Planning
    Log into the planning application through the web.
    Log into EAS, open your rule.
    Also can you create a new rule for the planning application after following the above process?
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error accessing Business Rules from EAS

    Hi,
    I am using EPM System 11 and trying to access Business Rules via Essbase Adminstration Services Console (EAS). When I open up the Business Rules node from Enterprise View, and select Repository View > Rules, a list of all the Business Rules is displayed. However, when I try to click on one to open it in the editor, I received an error message from EAS the reads:
    Business Rules Error. Error creating DBUserGrpObjLinkTable. Cannot continue.
    When I click Get Detail, it just displays Detail: null. This occurs when trying to open any of the Business Rules. In the past I have had no problem creating, editing, and launching business rules from EAS.
    I am still able to successfully launch the Business Rules I have already created and assigned to my Planning application FROM the Planning Web Application, but I am not able to edit them or create any new ones in EAS. Does anyone know what has happened to cause this error? It appears as if something happen to the one of the tables in the relational database that was configured during the installation of the EPM system? I can provide more detail if necessary. Thank you.

    I have restarted the services and that did not solve the problem. This may be a stupid question, but I'm not exactly sure who I would contact at Oracle about this problem. Can someone tell me where I should look for this?
    Also, I have a bit more information from the logs that may be helpful in solving this. Here is an excerpt from the hbrserver.log:
    2009-12-09 03:28:10,656 WARN main com.hyperion.hbr.core.AccessControlManagerServer - HBR repository is not configured. HBR will not be available.
    2009-12-15 10:25:02,656 FATAL http-10080-Processor4 com.hyperion.hbr.core.AccessControlManagerServer - Error creating DBUserGrpObjLinkTable. Cannot continue.
    It appears that the HBR repository is not configured? I am confused because Business Rules were working fine just last week, and I'm not sure what has changed. Also, I can still successfully run Business Rules from Planning. Any ideas on how to fix the repository? Thanks.

  • Creation of Business partner from customer

    Dear Friends,
    I am trying to create business partner from customer thorugh T-code FLBPD1 but unable to do so. Also. whenever i create a customer, a corresponding business partner is automatically created which is not desirable. Rather system should allow me to create business partners from customer separately when required. Kindly suggest any solution for the same.
    Regards

    Hi,
    please have a look at this threat
    [Auto creation of customer/vendor for BP;
    or search the forum for other threats that are handling this topic.
    Regards, Franz

  • How to create business rules from Jdeveloper 10.1.3.1.0

    Dear Experts
    Can I able to create Oracle Business rules from My JDeveloper 10.1.3.1.0. Using this link They are creating repositories, rule sets for their BPEL process, But in my version I cant found <BPEL components> under component palette. Why these features are missing, to get those additional features what I have to do.. ? Please suggest your best for me.
    Also Is it possible to build business rules from java sdk & from rule author..? If so means what is the difference, which one is having advantage.
    Thanks,
    Rajesh

    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/decision.htm

  • Trouble Creating Business rules from EAS

    Hi All,
    I am new to Essbase and Planning. I am facing trouble creating Business rules from EAS. Every time I click on Business rules it shows login failed...

    Hi,
    Welcome! I believe it could be an access issue. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/hbr_admin_help/ch03s02s01.html
    I would also check the provisioning. Here are the Business Rules roles: http://download.oracle.com/docs/cd/E12825_01/epm.111/epm_security/apas08.html
    Hope it helps.
    Mehmet

  • Can't launch Business rules from Smartview

    Hi,
    I am trying to lauch a business rules from smartview, but the "calculation option"/ "business rules" menu is unavailable in Excel.
    This business rules is available in the Web HBR launcher.
    How could I get access to business rules in Excel please ?
    Regards

    In Excel, you can't launch a Business rule in a free form, you have to use a form from Hyperion Planning for example.
    It would have been nice to be able to launch a BR in Smartview, as in the web launcher.

  • Enable/select/change to Business rules from Calc Manager in App settings

    Hi all,
    Somehow we are Unable to Expand the Planning Node in Essbase Administration Services (EAS) Console When Creating Business Rules. I am not sure is it
    I am not sure, is it because of one of the application has calc settings as calc manager in under application settings in dev environment, but in other environment all applications set it as Business Rules.
    I was trying to change from Calc Manager to Business rules in App settings, but it is grayed out and not able to change to Business rule from calc manager.
    Please suggest me.
    Thanks,

    If it say been set incorrectly then you may need to update one of the relational tables for the application.
    Table - HSP_SYSTEMCFG
    Field - CALC_ENGINE_OPTIONS
    Values - 1=HBR, 2=CalcMgr
    Restart the planning application web app service after making changes.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Unable to access to Business rules from planning

    HI all,
    We are using Hyperion Planning 9.3.1, Essbase 9.3.1 and AAS 9.3.1.
    Unfortunately, we are not able to access to business rules from planning.
    All rights are set properly, the business rules are visible through AAS 9.3.1 and are accessible from all locations.
    When we go to tools/business rules and select the database, we are not able to see any business rules.
    If someone has any idea, it will help us a lot,
    Thanks for reading this post, guys.

    Thanks for your help John,
    Unfortunately, we do not have the directory \HyperionPlanning\webapps\HyperionPlanning\WEB-INF\classes\.
    We tried to put the file in the directory \HyperionPlanning\deployment\tomcat\HyperionPlanning\webapps\HyperionPlanning\web-inf\classes\
    But it still doesn't work.
    For your information, we are currently using TOMCAT as web server.

  • Exporting business rules from Calc manger

    Hi all,
    when i try to Export business rules from Calc manger nothing happens but i can import to calc manger.
    I am using EPM 11.1.2.1
    Appreciate your help

    Are you sure you are following below steps for export:
    http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/cmgr_export.html
    Cheers...!!!
    Rahul S.

  • Migrate Business Rules from 9.x to 11.x

    I am trying to migrate business rules from 9.21 to V11.1.1.3
    I used to export the rules, then edit the XML for the correct server and location names, then import into the target server-all with 9.21
    Now when I try the same process, I get this error when importing into V11.1.13
    Detail:Error while importing object properties.
    Detail:com.hyperion.hbr.beans.UserObjAccessFilter.setUserGroupName(java.lang.String)
    I can use the migrate repository option just fine, but then I have to go in with a SQL script and update the location and server names in the relational tables. I prefer the export/import since I can do that without impacting users.
    Any ideas on how to import the rules and resolve this error?
    Thanks
    Jeff

    Hmm no luck with one rule that has no security assigned to it. and no luck with one project with no security.
    Here is the xml for 1 rule that won't import:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <HBRObjects>
    - <Rules>
    - <Rule>
    <property class="java.lang.String" method="setBody" value="ACED00057372001E636F6D2E6879706572696F6E2E6862722E636F72652E52756C65426F6479047B4D7ABDC064F60200065A000564697274795A000B697347726170686963616C4C0007636F6D6D656E747400124C6A6176612F6C616E672F537472696E673B4C000A636F6D706F6E656E747374002C4C636F6D2F6879706572696F6E2F6862722F67726170686963616C2F47726170686963616C566563746F723B4C000872756C655465787471007E00014C000473616C3071007E000178700000740000707402192F2A4553535F4C4F43414C4520456E676C6973685F556E697465645374617465732E4C6174696E314042696E6172792A2F0A534554204147474D49535347204F4E3B0A5345542055504441544543414C4320204F46463B0A0A46495820284275646765742C20223173742050617373222C20264375727242756459722C20404C45564D4252532822506572696F64222C2030292C4072656C61746976652822546F74616C20456D706C6F79656573222C30292C4052454C41544956452822546F74616C20436F6D70616E79222C3029290A0A2043414C432044494D2028224163636F756E7422293B0A0A22456D706C6F79656520546178657322203D2022456D706C6F79656520546178205261746520496E707574222D3E224E6F20456E74697479222D3E224E6F20456D706C6F79656522202A2022546F74616C2053616C617279223B0A0A22456D706C6F7965652042656E656669747322280A0A494620282246542F505422203D3D31290A0A22456D706C6F7965652042656E6566697473223D2242656E65666974205261746520496E707574222D3E224E6F20456E74697479222D3E224E6F20456D706C6F7965652220202A2022546F74616C2053616C617279223B0A454C53450A22456D706C6F7965652042656E6566697473223D234D495353494E473B0A454E4449460A290A454E444649580A0A43414C432044494D202822456D706C6F796565222C456E74697479293B0A0A0A71007E0004" />
    <property class="java.lang.String" method="setMetadataReferences" value="" />
    <property class="java.lang.String" method="setDefMetaDataRepo" value="Planning/balt-hypplan/CorpBud/Eeplan" />
    <property class="java.lang.String" method="setBodyAsCalcScript" value="/*ESS_LOCALE English_UnitedStates.Latin1@Binary*/ SET AGGMISSG ON; SET UPDATECALC OFF; FIX (Budget, "1st Pass", &CurrBudYr, @LEVMBRS("Period", 0),@relative("Total Employees",0),@RELATIVE("Total Company",0)) CALC DIM ("Account"); "Employee Taxes" = "Employee Tax Rate Input"->"No Entity"->"No Employee" * "Total Salary"; ENDFIX CALC DIM ("Employee",Entity);" />
    <property class="java.lang.String" method="setName" value="Corp-EE Benefits & Taxes Calc" />
    <property class="long" method="setLastModified" value="1211738336600" />
    <property class="java.lang.String" method="setVersion" value="" />
    <property class="int" method="setId" value="220" />
    <property class="java.lang.String" method="setDescription" value="" />
    <property class="java.lang.String" method="setOwner" value="native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER" />
    <property class="int" method="setObjectType" value="1" />
    <property class="boolean" method="setEditable" value="false" />
    <property class="boolean" method="setLocked" value="false" />
    <property class="java.lang.String" method="setLockedBy" value="0" />
    <property class="java.lang.String" method="setUpperName" value="CORP-EE BENEFITS & TAXES CALC" />
    <property class="java.lang.String" method="setModifiedBy" value="native://DN=cn=911,ou=People,dc=css,dc=hyperion,dc=com?USER" />
    <property class="java.lang.String" method="setOpenForEditingBy" value="0" />
    <property class="boolean" method="setOpenForEditing" value="false" />
    </Rule>
    </Rules>
    <Macros />
    <Variables />
    <Sequences />
    <Projects />
    <RuleMacroLinks />
    <RuleVariableLinks />
    <MacroMacroLinks />
    <MacroVariableLinks />
    <SequenceItemLinks />
    <SeqPrompts />
    <ProjectItemLinks />
    - <UserObjAccessFilters>
    - <UserObjAccessFilter>
    <property class="int" method="setObjectID" value="220" />
    <property class="int" method="setObjectTypeID" value="1" />
    <property class="int" method="setLocationID" value="9" />
    <property class="int" method="setTaskID" value="2" />
    <property class="java.lang.String" method="setUserGroupID" value="0" />
    <property class="int" method="setUserGroupTypeID" value="0" />
    <property class="boolean" method="setSearchNoLoc" value="false" />
    <property class="boolean" method="setSearchNoUser" value="false" />
    <property class="boolean" method="setSearchNoObj" value="false" />
    <property class="boolean" method="setSearchNoTask" value="false" />
    <property class="java.lang.String" method="setUserGroupName" value="" />
    </UserObjAccessFilter>
    </UserObjAccessFilters>
    - <Locations>
    - <Location>
    <property class="int" method="setCluster" value="0" />
    <property class="java.lang.String" method="setLocation" value="Planning/balt-hypplan/CorpBud/Eeplan" />
    <property class="int" method="setLocID" value="9" />
    <property class="java.lang.String" method="setUpperLocation" value="PLANNING/BALT-HYPPLAN/CORPBUD/EEPLAN" />
    </Location>
    </Locations>
    </HBRObjects>
    I see the setUserGroupName property class and it is empty..

  • Accessing Business rules from BPEL, OESB and OSB

    How to aceess Business rules from BPEL, OESB and OSB ?

    Hey you can use Decision Service in BPEL process. You have "Decide" activity for this. However, no idea about ESB or OSB.

Maybe you are looking for

  • Perforce issue in loop

    Hi experts,    In my program I have used this loop to populate article text(makt-maktx) and ean number (mean-ean11) in records fetched from mara on the basis of matnr. in my test server mara contains 46k records and in marc there are 80k records corr

  • 8.2 wont install!!

    ok, so when i tried to install iTunes 8.2, it started, but then said it could not access %APPDATA%\. I tried installing Quicktime on its own, that didn't work. I tried what it said on the iTunes help page, and they didn't work either! It won't recogn

  • Apple TV Acting Strange After Update

    Hi all, Last night my Apple TV downloaded and installed the latest update, however now it appears the power light has stopped working and the Apple Remote also isn't responding which means I have no way of accessing the device. Any other users out th

  • Number range error for some materials when converting into Production order

    Hi, Please I need some help with my error. When trying to convert planned orders into production orders, I receive an error message saying Internal assignment not defined for number range XX. The strange part is that is only happening for two materia

  • Getting alert history info when an alert email is sent

    Hi, I'm trying to get alert history info for alerts sent to user. For ex : I've an alert on gl_period_statuses, when ever alert status is changed from open to close or "future open" to open etc then an email alert is sent to user and sample alert det