Auto email after execution of scheduled business rule

Hi All,
We have certain business rules which will be scheduled on daily, weekly and monthly basis. Our requirement is that every time when a scheduled business rule is executed a email is sent to the administrator (specifying the name of BR and time of execution). Can somebody tell us that how is that possible?
We are on 11.1.2
Thanks in advance.
Regards.

It may be worth having a read of :- http://john-goodwin.blogspot.com/2009/02/idea-for-this-blog-originates-from-post.html
Another possibility if you are scheduling from command line is to use free command line email utility e.g. blat.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • How to schedule business rule in Planning

    HI,
    Is it possible to schedule Business Rule on specified time, i mean automation to execute business rule after certain events or date.
    Secondly can we run maxl file using windows scheduler?
    Regards
    Kumar

    You can use the business rule command line launcher, it is a command line utility so you can schedule it using windows scheduler.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Execution time of Business Rule

    Hi,
    My rule is taking more than a day to run. How can i watch its exact execution time. I can't see it in job console as it shows that the business rule is still in processing. And i have also checked in HSP_JOB_STATUS table. It also shows that it is in processing.
    Is there an other way to see the exact execution time of business rule.
    Thanks and Regards.

    To see the exact execution time, you can check in HBRlaunch.log file in planning.
    If you want to track the execution time of different parts of your calculation script/business rule then see the essbase application log in detail in EAS.
    To see log specific to your business rule, use maxl and spool log to text file, this will give you the logs related to your business rule only and the execution time.
    Thanks
    YSP

  • FRM-40207 supressed after Business Rule violation

    Situation:
    - Form based on table with column A number(1)
    - Item width in form = 2 (automatic, to enable negative sign)
    - Business rule on column: value must be > 0
    - Try saving record with column A = -2: Business Rule is violated --> error message (as expected)
    - Changing value to 22, no error, not possible to leave record/item: 'FRM-40207 Must be in range -9 to 9' is not shown
    - Trying to type 22 first time leads to the 'FRM-40207: Must be in range -9 to 9' message as expected
    - Generating the form with teh preference set QMS_DEBUG_MODULE: FRM message is also shown after violation of BR (negative value) (thus it is a Headstart problem?)
    - Setting a format mask of 9 on the field does not solve the problem, in that case 'FRM-40209 Must be of format 9' is supressed
    It looks like the rule frame/headstart code suppresses the FRM message after violation of a Business Rule,
    anybody experienced the same problem or knows a solution?
    tia
    Geert

    I think we came across the same problem as you are describing. We created a temporary workaround for our problem by creating a custom library object using both the <maximum length> and <format mask> properties. This may not be feasible if you have are having the problem with several columns of varying lengths.
    [email protected]

  • Business Rules in Planning 11.1.2.1 - Cannot connect to Planning

    Hi,
    I started experiencing some problems today in forms with Business Rules. I don't really know how it happened, but I noticed after a Refresh and after stopping CalcManager service (business rules run on this service?). Either way I restarted the EPM System and the error persists.
    When I ented in any form with business rules i get the error: An error occured, in a white background.
    In logs i have the following:
    missing property key:embedded_timeout
    missing property key:css_refresh
    missing property key:PLUGIN_DATA_REFRESH_RATE
    missing property key:MYOLAP_ENABLED
    missing property key:HBR_CACHE_REFRESHRATE
    missing property key:launch_log.filename
    missing property key:launch_log.log_calc_script
    missing property key:launch_log.log_prompt_values
    missing property key:launch_log.date_format
    missing property key:EDS_UserName
    missing property key:EDS_Password
    missing property key:EDS_Domain
    missing property key:EDS_url
    missing property key:log4j.logger.com.hyperion.hbr
    missing property key:log4j.appender.stdout.layout
    missing property key:log4j.appender.stdout
    missing property key:log4j.appender.stdout.layout.ConversionPattern
    missing property key:log4j.appender.R
    missing property key:log4j.appender.R.File
    missing property key:log4j.appender.R.MaxFileSize
    missing property key:log4j.appender.R.MaxBackupIndex
    missing property key:log4j.appender.R.layout
    missing property key:log4j.appender.R.layout.ConversionPattern
    missing property key:HBR_CACHE
    Default HBR = http://<servername>:19000/aps
    In getDBDetails()
    Found HBR product = ESSBASE_PRODUCT
    In lookupBRLWA()
    Found HBR product = ESSBASE_PRODUCT
    Found HBR product = ESSBASE_PRODUCT
    - Cache Manager initialized...
    - authenticateUser: UserName = admin, Password = password
    - Repository does not exist for poolname: nullnullnull
    - Repository does not exist for poolname: nullnullnull
    - Creating new Repository for poolname: nullnullnull
    - Invalid Database Type specified: 0. Unable to create Repository object.
    - Error while creating Repository object. Please make sure your HBR Configuration is correct.
    - COMM001
    Embedded HBR initialized.
    Seeking ESAPI.properties
    Found in 'org.owasp.esapi.resources' directory: E:\Hyperion\EPMSystem11R1\products\Planning\config\esapi\ESAPI.properties
    Loaded 'ESAPI.properties' properties file
    Seeking validation.properties
    Found in 'org.owasp.esapi.resources' directory: E:\Hyperion\EPMSystem11R1\products\Planning\config\esapi\validation.properties
    Loaded 'validation.properties' properties file
    Seeking antisamy-esapi.xml
    Found in 'org.owasp.esapi.resources' directory: E:\Hyperion\EPMSystem11R1\products\Planning\config\esapi\antisamy-esapi.xml
    - authenticateUser: UserName = admin, Password = null
    - Repository does not exist for poolname: nullnullnull
    - Repository does not exist for poolname: nullnullnull
    - Creating new Repository for poolname: nullnullnull
    - Invalid Database Type specified: 0. Unable to create Repository object.
    - Error while creating Repository object. Please make sure your HBR Configuration is correct.
    - COMM001
    Launching the business rules against Planning also result in the following error message:
    ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)' com.hyperion.hbr.plugin.planning.PlanningMetadata - Error connecting to Planning server <server name>
    - Error connecting to Planning server <server name>.
    Any advice on what might be going on?
    Thank you

    I'm still having this problem. I checked that RMI is running but whenever I try to enter in Planning the logs write that it can't connect to the eas database, and HBRPluginData relational table isn't being filled.

  • Problem with two of my business rule triggers

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    hmmm...
    Try resetting it again and restoring with the same backup file...
    Does the phone work properly once you've reset it before you try restoring? A lot of people here have experienced problems restoring from backups... could be worth forgetting about it and starting from scratch.
    You could try contacting your nearest Nokia Service Centre (www.nokia.com/repair) and see if they can do anything - it may need the firmware reinstalling or upgrading... possibly... give them a call though and see.
    Nokia History: 3110, 5110, 7110, 7110, 3510i, 6210, 6310i, 5210, 6100, 6610, 7250, 7250i, 6650, 6230, 6230i, 6260, N70, N70, 5300, N95, N95, E71, E72
    Android History: HTC Desire, SE Xperia Arc, HTC Sensation, Sensation XE, One X+, Google Nexus 5

  • Business rule trigger not calling the procedure in my code

    Good morning every one,
    I have a small problem with two of my business rule triggers.
    I have these tables:
    pms_activity
    csh_cash
    csh_integrate_leh
    csh_integrate_led
    and my process goes like this:
    upon approval of a row in my pms_activity table I have a trigger that insert a row in my csh_cash - and in the csh_cash table I have a trigger that will insert in the csh_ingerate_leh and csh_integrate_led.
    my problem is pms_activity does generate a row in csh_cash but the trigger in the cash does not fire to generate a row in the csh_integrate_leh and led tables.
    I have generated in the following order after I created my business rule:
    I have generated the table from the designer (server module tab)
    I have generated the CAPI from the head start utility
    I have generated the API from the designer
    I have generated the CAPI from the designer
    I have run the recompil.sql
    I have checked that my business rule trigger is enabled and should run on insert and no where restriction
    === this is my business rule logic ======
    l_rule_ok boolean := true;
    begin
    trace('br_csh001_cev (f)');
    csh_gl_pkg.csh_gen_integ_jvs(p_id
    ,p_ref_num
    ,p_own_id
    ,p_trt_id
    ,p_value_date
    ,p_description
    ,p_amount
    ,p_cur_id
    ,p_gla_dr
    ,p_gla_cr
    ,p_gla_pl
    ,p_gla_rev
    ,p_gla_eqt);
    return l_rule_ok;
    exception
    when others
    then
    qms$errors.unhandled_exception(PACKAGE_NAME||'.br_csh001_cev (f)');
    end br_csh001_cev;
    ==== end =======================
    Any help will be appreciated as I have struggled with this for two days.
    Thanks

    Haroon,
    SAP does not allow Stored Procedures to be used as part of the SAP Business Db or to be used to access SAP Business One tables directly for Insert, Update or Delete.  Any interaction with the SAP Business One Db is required to go through the SAP Business One API's, namely the DI and UI API's.
    Eddy

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

  • Validation of business-rule gives error

    Hi,
    After valadating the following business-rule i get an error message.
    0001 FIX ("FY08","50120","DEC")
    0002 FIX ("EJV2")
    0003 Cleardata "50160" ;
    0004 ENDFIX
    0005 DATACOPY "50120"->"EJV1" TO "50160"->"EJV2" ;
    0006 ENDFIX
    The error message is:
    Validation error from planning server 'http://sth135.gwnet.nl:19000/HyperionPlanning/servlet/HspAppManagerServlet'.
    'Error:Cannot calculate dimension member [50160] with restricted member [50120]An error occurred while running the specified calc script. Check the log for details. on Rule object with name EPMSPEEL.Resultatenrekening.test'OK (O)
    It seems to have something to do with a calculation that tries to calculate a member after restricting the calculation to a different member in the same dimension. However, as my knowledge of businessrules is (yet) limited I can not figure out how to adjust the rule properly.

    You can not fix on a dimension and do subsequent calculations on that dimension. For example you can not say :
    Fix(Jan)
    Jan = Feb + March;
    EndFix
    You need to limit the scope in the fix statment to other dimensions not the one you are trying to calculate

  • Business Rules - how to stop when being executed in background?

    Hello,
    I have a very simple BR that is supposed to copy data from one version to another, however the BR timeouted and now is being executed in the background.
    The thing is that it is being executed for two hours now. I can see the BR in the Job window with 'Processing' status.
    I've set two system options HBR_MAX_WAIT_FOR_RULE and HBR_MONITOR_DELAY to 600000, and restarted the application and essbase, however the BR's status in Job window is still 'processing'.
    Is there any way to:
    1. Stop the execution of the business rule?
    2. Verify what causes the BR to run for so long?
    3. Does dense/sparse settings have the impact on BRs' execution time?
    Kind regards
    Marcin Stawny

    Hi,
    I take it we are talking classic planning.
    You can terminate rules from within EAS, if you right click the analytic server and select edit sessions, you should see the rule running.
    I am not sure why it says it still running maybe it has cached that it is running and still believes it is, have you restarted EAS?
    Lots of different elements can be makinh a business rule run for a long time, the code/cube might need optimizing, it might be trying to copy a lot of data.....
    Maybe worth posting more details on your database, number/name of dimensions, number of members, dense/sparse
    Also the business rule code.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to undeploy business rules deployed in Planning

    I am unable to undeploy test business rules deployed on Production. Deleting from calculation manager leaves BR in planning.. is there in any other option??

    Try this http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/ch07s03s01.html
    "To remove a business rule or ruleset from an application after you deploy the business rule or ruleset, make it ineligible for deployment by clearing the check box next to its name in the Deployment View. Then you can perform a full deployment of the application by right-clicking it and selecting Deploy."
    As you've already deleted rule from Calc manager try to create empty rules with the same name (if first full deployment wouldn't help)
    Edited by: vvipirailo on Jun 6, 2012 10:42 AM

  • How to extract Business Rules in OWB (Design Center)

    Hello All,
    We recently inherited an OWB project without any documentation. Can anyone tell how best to EXTRACT the business rules within the Design Center Client? Is it even possible to get this info from within the tool? We are trying to put down some documentation and really need to know rules used to load the tables.
    Thanks so much

    Try this http://docs.oracle.com/cd/E17236_01/epm.1112/cmgr_admin/ch07s03s01.html
    "To remove a business rule or ruleset from an application after you deploy the business rule or ruleset, make it ineligible for deployment by clearing the check box next to its name in the Deployment View. Then you can perform a full deployment of the application by right-clicking it and selecting Deploy."
    As you've already deleted rule from Calc manager try to create empty rules with the same name (if first full deployment wouldn't help)
    Edited by: vvipirailo on Jun 6, 2012 10:42 AM

  • Logic behind Business Rules

    Hi,
    Can anyone explain me the backend logic behind the execution of the business rules. Like,
    1) What all tables are involved for maintaining the business rule and
    2) What all function modules are involved in the execution of the script logic for the business rules.
    Please help me out.
    Regards,
    G.Vijaya Kumar

    Hi,
    If you have access to the backend system then login into the system and go to the transaction code SE80 -  under the "UJ" package , check the sub-object "UJP" - Parameter driven logic. Under this sub-object you would find all the related tables, programs and function modules.
    Thanks

  • Display of data after Business Rule Execution

    Hi Gurus
    We are using 11.1.2 and experiencing few problems with some of out Business Rules. The problem is, BR executed successfully and the resultant data is not displaying in the target form. As a workaround, we put a dummy value in any of the target's combination and re-execute the BR, this time BR gets populate the target cell. Pls advice what sort of problem is this???
    Thanks in advance,
    SNK

    It could be down to the business rule not creating blocks, by entering dummy data then you are creating the blocks and the rule will run as expected.
    Have a look at this post :- Re: Busines rule Issue
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to submit the Data with Business rule auto executed with VBA in excel?

    Anyone knows how can I submit the data into planning with the business rule auto executed in planning?
    Currently, I am using HypExecuteCalcScriptEx () + HypSubmitData() in my program that auto executed the business rule prior saving the data into planning.
    However when it try to run HySubmitData(), the Business rule window pops up again and ask user to run the business rule again.
    Therefore, is there a way that I can submit the data with auto execute the business rule?
    many thanks, highly appreciate !!!!!!

    Hi Rafeek,
    One solution is to set the column width after manually or programmatically refresh the PivotTable, for example:
    Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    End Sub
    Another option is to set the column width, then protect the columns from been updated by the user, before refreshing the PivotTable, unprotect the worksheet. For example:
    Public Sub LockColumnA()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    ws.Columns("A").Locked = True
    ws.Protect "123"
    End Sub
    Public Sub UnprotectWorksheet()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Unprotect ("123")
    End Sub
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Missing codecs for Blackmagic HD Extreme?

    I just installed a new BM HD Extreme card. I installed the latest driver (6.3) I am running QT 7.2 and FCP 6.0.1 When I launch FCP it prompts me to select a Sequence Preset. The drop down window contains many Blackmagic options- but many others are m

  • "No transaction type is available for creating a transaction" service order

    Hi all, I am new in IC . I try to create service order or service ticket for incoming calls We are using CRM 7.0 After I confirm the account I try to create service order But no screen displayed and error "No transaction type is available for creatin

  • Does FCP turn WAVs into AIFs?

    Hi, I just had someone tell me that any WAV audio files I import into FCP will be converted to AIFs, and that I have to choose one or the other for a sequence or a realtime conversion will take place. I'm pretty sure the only thing you have to choose

  • Airtunes multiple speaker output after iTunes7 upgrade

    Prior to upgrading to iTunes 7 I was able to successfully play music from my PC and select multiple speaker. I could listen to the music at the PC itself and at the remote location I specified. After the upgrade this no longer works. I can only choos

  • Creation of 1000 Cost Centres will slow down the system performance

    Hi, Can anyone suggest us, that if we create more than 1000 Cost Centres will there be any system/server performance issue in SAP Business One. Thanks, Vishwa