Running Maxl from business rule

Hi,
We have very large BSO cube and we decided to create ASO for aggregation purposes.
We were thinking of running the replicate partition with Maxl, but we want to do it at the end of every business rule.
In order to do it we want to have the possibility to run Maxl from the BR. We heard that there is a way to do so, but we couldn't find guide / tutorial / any other thing that will give the proper explanation.
We are working with 11.1.2.2
Can someone help?
Thanks,
Rami

duplicate post https://forums.oracle.com/message/11106737

Similar Messages

  • Call ODI interface from Business Rule

    Hi All,
    Is there any way to call ODI interface from business rule?
    I search the forum and found there is a way to call java code from business rule by CDF.
    ODI provide a dos batch file to invoke the ODI interface. But, how can I call batch file from business rule.
    I am using planning version 11.1.1

    Thanks.
    I can call the JAVA from business rule after assign the security in udf.policy.
    And, I am working on calling ODI scenario. However, I found connection refuse as follows.
    ava.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:520)
         at java.net.Socket.connect(Socket.java:470)
         at java.net.Socket.<init>(Socket.java:367)
         at java.net.Socket.<init>(Socket.java:180)
         at oracle.odi.sdk.invocation.internal.AgentNetworkCmd.<init>(AgentNetworkCmd.java:38)
         at oracle.odi.sdk.invocation.OdiInvocation.<init>(OdiInvocation.java:107)
         at com.gammonconstruction.odi.ODICaller.main(ODICaller.java:
    do I need to add scheduler agent for java request ?
    and, how to add the agent if need?

  • Displaying Value from Business Rule in the UI

    My requirement is as follows:
    I profile a customer based on some business rules and the business rules asserts a business object based on the rule evaluation. I checked the output of the Business Rule and I can see that the values have been set correctly but when I added the Business Object to the Human task the same is not displayed in UI. Can anyone please help me on this. I am using 11g.
    Regards
    Venkat

    If i'm not wrong, this is undoubtly teh MOST ASKED Qs on the Forum .
    U can get help from URL :- http://jsptags.com/tags/navigation/pager/
    Also, the Java Pet Store application has another such JSP tag library. Look in the package com.sun.j2ee.blueprints.petstore.taglib.list
    OR just simply search the Forums & u'll get many replies to ur Query

  • Control process flow from Business Rules

    hi
    i would wish to control the process flow in BPEL by using Business Rules(based on conditions) rather than using Switch. how can i accomplish this? please do help me in this.

    what do you mean with control the process flow? Do you mean to destine which partner link is called? Or just make some decissions through the business rules and use a switch afterwards....
    If you are talking about controlling the partner link to be called, then you should have a look at the chapter three of the cookbook
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/carey.html
    You could use the outcome of the business rule to make a decission which endpoint reference to use. Perhapes even return the endpoint reference from the business rule...
    Greets Jens

  • Security removed from business rules

    Hi,
    The business rules for an application stopped working with an error it could not be validated against the database. I looked on this thread
    Error validating business rule
    The security was no longer present. The business rules had not been imported. I added it back in and things started working. I would like to know why the security was lost as I have not seen this before.
    Thanks,
    Nathan

    Has it only every happened once and on one rule? If so I am not sure if you will get a definitive answer to why the rule has no security.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Rtp from Business rule to be passed as template parameter using Member Range DTP type

    This is what I am trying to do. Use a template to define a part of the code and restrict the code from running for a particular Month. I have created a member range DTP and defined default values in it to exclude the one month I do not want.
    I have set up the template in my rule as given below and basically the parameter that is to be passed is a runtime prompt (rtp_Month), which I have selected.
    %Template(name:="Test",application:="XXXX",plantype:="Plan1",dtps:=("StartMonth":=([[Period.{rtp_Month}]])))
    Now when i run this, what will happen? Will the rule just skip the template part when rtp_month is the one i have excluded in the member range?
    OR, is this not the way to do what i am intending. I see a 'restricted value' type, but not sure how to get it to work.
    Thanks in advance.

    Thanks for the reply Sree.
    This is what I am trying to do.
    FIX ({rtp_StartMonth}:Aug)
        Calculations
      ENDFIX
    FIX(Sep)
    Calculations
    ENDFIX
    Now, when rtp_Month is selected as Sep, the first block of code should not run. So the template I created has the first fix block like,
    FIX ([Startmonth]:Aug)
        Calculations
      ENDFIX
    So, final BR code:
    %Template(name:="Test",application:="XXXX",plantype:="Plan1",dtps:=("StartMonth":=([[Period.{rtp_Month}]])))
    FIX(Sep)
    Calculations
    ENDFIX
    I am assuming: if i use the range DTP type and exclude 'sep' while defining the default values, the rule would bypass the template and run my second block of code.
    Is this assumption wrong?

  • Running AppleScript from Mail rules

    Hi.
    I'm pretty new to this, so sure it's a basic question....
    I've created An AppleScript that calls an Automator application.  This runs fine if I open the script in the editor and click run.
    I've now created a mail rule which should run this script if a mail is received with defined subject, but it doesn't....
    Whatever I try, it's just not running the script.
    Any help?

    Yes.
    tell application "iTunes"
      quit
    end tell
    delay 60
    tell application "iTunes"
      activate
    end tell
    Change 60 seconds in delay to the delay you need.
    (still might not work as a Mail Rule, but give it a try)

  • Can't see some Business Rules after running the Import via LCM

    I am trying to migrate our Business Rules down from Prod to Dev to get them back in sync. Here is the steps I have run:
    Export ALL Business Rules and Sequences from Prod via LCM
    I confirmed the export directory contains an .xml file for EACH Rule.
    copied the export directory down to Dev Shared Services server
    Turned on DEBUG for Shared Services
    Deleted ALL Business Rules and Sequences from Dev EAS BR repository
    I confirmed that ALL BUsiness Rules are listed and checked in LCM Import.
    run the Import from Dev Shared Services via LCM
    I get a Completed successfully message. No Errors.
    I Refresh Rules in Dev EAS and I only see 25% of the Business Rules listed.
    I have tried to Stop/Restart the EAS services and still nothing.
    I confirmed that the ID I am using to Export / Import has access on each Business Rule either directly or via a Group that has access.
    Any thoughts??
    Thanks in advance for any assistance on this!
    Robert

    Thanks John!
    I was really trying to get it done via LCM since I have all other migrations being done there. but I ended up taking your advice and doing it the old fashion way via EAS export.
    To answer your questions:
    We are on 11.1.1.3
    I did not see any problems in the Services logs for EAS. Nothing that stood out.
    We are migratiing 66 Rules and 15 Sequences.
    We are using Weblogic instead of Tomcat.
    Even though I have a workaround for the issue I am still interested in understanding why some of them did not import via LCM. You mentioned that you might consider adjusting some config settings. What settings would you recommend looking at?
    Thanks again John!
    Robert
    Edited by: user627522 on Nov 16, 2010 6:27 PM

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

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

  • DB Call from Oracle Business Rule +Java Method call from OBR

    Hi,
    1.We have a requirement in project where we need to make DB Call from Business rule.
    We are using ORACLE SOA11g.
    Is this possible.Any pointers on this will be helpfull.
    2.Can we call java method from Oracle Business Rule.If so pls suggest how it can be done.
    Thanks In Advance,
    Oracle SOA User

    You can implement java class to make database updates using JDBC. You can add Java class as fact in business rules and invoke methods as actions of the business rules.
    Hope this will help.
    Jayesh Patel
    http://jayesh-patel.blogspot.com/
    http://www.yagnasys.com/

  • 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

  • BPC NW - Error in Business Rule for Account transformation rule table

    hi
    I have given the Account transformation Rule to move Amount from Account A to Account B and then I have given the following script logic in the default script
    **RUN_PROGRAM CALC_ACCOUNT*
    *CATEGORY = Category*
    *CURRENCY = RptCurrency*
    *TID_RA = %TIME_SET%*
    *CALC=A*
    *OTHER = ENTITY=C1000*
    **ENDRUN_PROGRAM*
    But when I try to load data through Input schedule in Account A and expect amount to transfer to Account B, I m getting an error
    Book Name:Book4
    Application : PLANNING*
    Status : Failed*
    Submitted Count : 1*
    Accepted Count : 1*
    Rejected Count : 0*
    - Error Message -*
    Error running default logic (Business rules are not available)
    - Rejected record list -*
    Error converting records: The root element is missing.
    Can someone please advice me what to do ....

    hi Marcel,
    Lot of thanks for your answer.
    But I have used your logic after removing GROUPS as I dont have GROUPS dimension in my application.
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    TID_RA = %TIME_SET%
    CALC=FX
    OTHER = [ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM
    This is the error I m getting
    Book Name:Book3
         Application     :     PLANNING
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     1
         Rejected Count     :     0
              - Error Message -
    Error running default logic (Business rules are not available)
              - Rejected record list -
    Error converting records: The root element is missing.
    Can you please advice
    a) Does it mean some issue with my client installation as I dont see these LGF files. I even dont see the data folder in which lgf files are supposed to be present
    b) Where to find information for this interface CALC_ACCOUNT? How did you decide to use 'FX' and how do you know which dimensions to use. Like I dont have GROUPS.
    Please give me your comments.
    regards
    Gaurav

  • Best practice for business rules

    Our business rules have
    Fix ( [Cost Center] )
    to extract the user's Cost Center from his form so that it runs faster.
    What is the best practice for running that same Business Rule but for all Cost Center? Will it be to put that Business Rule in a menu somewhere and let it prompt users to manually type "Cost Center" so that the Business Rule processes all cost centers ?
    Thanks.
    David

    You can try this way: create your primary business rule with FIX(@RELATIVE(VarCostCenter,0)), where VarCostCenter is a run time promt. Then you could easily use it to calculate only current member on ther form (fix will give you only 1 member).
    Then you create a new sequence and add there your business rule, go to "Launch Variables" tab, find promt for Cost Center, set it to "Total Cost Centers" and click hide. So basically now you have a copy of the primary rule but it runs for all cost centers automatically.
    So using this technique you will have to maintain only one business rule!

  • Error creating 'Journalling Business Rules'

    When running 'Maintain Journalling Business Rules' for a table with 19 columns an EMPTY 'BR_xxx_JRN_DEL' trigger is created , hence the CAPI definition fails.
    If I add 1 more column to make it 20 columns the 'BR_xxx_JRN_DEL' and the CAPI are both generating correctly.
    Has anyone else found this ?????

    Sandra,
    Ok we have the modified version of hsd and we still have similar problem. Here is the detailed log
    Log Messages
    Utility      Maintain Journalling Business Rules
    Revision      6.5.3.2
    Parameters      
    Prompt      Value
    Table to be Journalled      app/ my table
    Errors
    Message
    Activity aborted with ORACLE internal errors.
    -6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Debug Detailed
    Message
    BLAPI.OPEN_ACTIVITY
    Number of Tables to create/delete Journalling Rules for: 1
    Business Rule Design Definition for BR_xxx_JRN_UPD
    No Update Trigger Columns specified. Business Rule BR_xxx_JRN_UPD will fire when any column is updated.
    end of initial_checks
    Create/maintain message with constraint_name = HRS_BR_xxx_JRN_UPD
    Message QMS-00151 already exists in Headstart message tables, no new message was created.
    Activity aborted with ORACLE internal errors.
    -6502 ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    and this is the piece of code from bltext
    -- 6.5.2.3 changed if condition
    -- if length(l_text_lines(l_ctr + 1))+ 2 + length(l_build_string) &gt; 1990
    if length(replace(l_text_lines(l_ctr + 1), chr(10), NL_CR)||NL_CR)
    +
    length(l_build_string) &gt; 2000
    then
    exit;
    end if;
    end loop; -- compose 1 build string
    -- 6.5.2.3 changed if condition
    -- if nvl(length(l_build_string),'') &gt; 0
    if nvl(length(l_build_string),0) &gt; 0
    then
    -- 6.5.0.1 column element_type_for added.
    insert into cdi_text
    ( txt_ref
    , txt_seq
    , txt_type
    , txt_text
    , element_type_for
    values
    ( p_el_id
    , l_insert_at_seq
    , p_text_type
    , l_build_string
    , p_el_type
    end if; -- nvl(length(l_build_string),'') &gt; 0
    if l_ctr &gt;= p_text_counter
    then
    exit;
    else
    l_build_string:= '';
    l_insert_at_seq:= l_insert_at_seq + 1;
    end if; -- l_ctr = p_text_counter
    end loop; -- (maximum) over all lines in local text-store
    end if; -- l_lock
    exception
    when others
    then
    bllog.write
    ('Exception: '||sqlerrm
    , bllog.debug
    bllog.write
    (' Length Buildstring '||to_char(length(l_build_string))
    , bllog.debug
    bllog.write
    (' Line number '||to_char(l_insert_at_seq)||' Text type = '||p_text_type
    , bllog.debug
    bllog.write
    ( 'Exception; Note that the text for this element may have been corrupted.'
    , bllog.errors
    end write_lines_to_repository;

Maybe you are looking for