CEV business rule only uses first set of parameters in multiple inserts

We have a cev rule that logs data for emails when a record is inserted in a table.
Where there are two records inserted from a script, even where a qms_transaction_mgt.open_transaction and close transaction are used around each insert, the CEV record parameters do not change.
By this I mean we have two records:
1 - id: 22
2 - id: 23
We pass the id to the CEV business rule and dbms_output the parameter value - it indicates that for both records the p_id = 22.
The insert into the table indicates that the record ids were 22 and 23.
This appears to have been reported several times but there is no solution.

I would set it lower than 20 minutes as that is quite high before it sends the rules into the background, if the spawning at 10 minutes try setting it just lower than 10 as a test.
It may also be worth looking into the apache timeout (if you are using the apache web server plugin) as that could also be playing a part.
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Business rule to use page member on form

    Hi all,
    I need to create a business rule which uses a page member on the form. Created a RTP variable and used it in the Rule.Attached the rule and selected "use members on the form" and "Hide Prompt".But, Is still asking for prompt. How to unhide the prompt?

    Is it a calc manage rule or an EAS business rule, which version of planning.
    Cheers
    John

  • Multiple row update; CEV business rule parameters are not refreshed

    During a multiple row update, a business rule is fired for each row.
    This change event business rule must update the value of another column in the same table (and same row).
    Unfortunately, the parameters of the BR are keeping the values of the first row that has been checked. Since my parameter p_id always keeps the same value, I always update the same row.
    Does somebody have a hint on how to solve this problem ?
    I'm using Headstart R6i and Forms6i with Oracle9i DB.
    Thanks in advance for your help,
    Denis.

    I think that's how it works. I tried that with a variable where type is Members.
    It is not showing me a prompt when i select multiple rows. However works only for first row. (even if the menu is initiated from second row).
    Multiple rows selected, variable type is members. works only for first row in selection. (in 11.1.2.2) You can try log an SR and see what Oracle has to say.
    Regards
    Celvin
    http://www.orahyplabs.com

  • LCM Business Rules Export using Utility.bat

    Hi All,
    Wondering if anyone has any tips on using Utility.bat to export business rules.  I've defined a migration for business rules but it only exports one Business Rule to xml.  When executing the same migration definition from Shared Services, the business rules get exported to XML fine.
    We're running Planning 11.1.2.1.600.2.
    Thanks,
    Ryan

    Hello  Ryan,
    Want  to  Export  BR of  ESSBASE  (or) from  Calc manager .
    If  Calc  manager then first  select  all the  Calc  manager  related  artifacts  through  migration definition, after  you  get  the  export XML file ,Create  a  import  migration XML  file  .
    Now try  to  use  Utility.cmd  and  place  the  files  in  Utility.cmd  folder  only  and  import  all  calc  rules .

  • Error while executing business rule "Please increase CalcLockBlock setting"

    Hello,
    An error is occouring when I execute a particular business rule. The following message appears when I view the error from Job Console:
    "Dynamic calc processor cannot allocate more than [100] blocks from the heap. Please increase CalcLockBlock setting and then retry"
    No such error is occouring when I execute any other business rule.
    Can anyone please tell me how to resolve it?
    Regards,
    Sa'ad

    Hi Sa'ad,
    in the business rule your getting the error message is a calculation, where the result needs more than 100 blocks to access to.
    The error comes from three possible causes:
    1. Lockblock setting is low (essbase.cfg)
    2. Your data cache setting is to small
    3. Block size is to large
    I think you have to increase data cache settings (by default 8192 KB) to.
    Cheers
    Uli
    Edited by: Uli Drexelius on 13.07.2011 14:23

  • Track changes in business rule made using SOA composer

    Hi,
    I have business rules deployed on a server. Authorized user can change condition or any other thing in a business rule using soa composer. How can i track changes made in this business rule?
    i.e. I want to view the change and if possible who changes it.
    I am using SOA 11g
    Any help is appreciated
    Thanks

    Below document describes how to Monitor Decision Service Components and Engines.
    http://docs.oracle.com/cd/E29597_01/admin.1111/e10226/rules_mon.htm#CJAJJIJB

  • Business Rules Only Visible in One of the Two Planning Webs

    Hi all.
    I have this issue with a classic Planning application deployed to run with the calculation module to Business Rules in v11.1.2.1. I have also load balanced EAS/APS and Planning servers but when I log into Hyperion Planning in one of the server and I check the available BR I can see them but if I go into the other Planning web I cannot. This is logging straight into the Planning Webs using the different servers names. Inside EAS I have done the necessary location, provisioning and cluster to be able to appear in both Planning webs but still not working.
    Does anyone knows how to fix this problem?
    Many thanks
    J

    The solution was to create a BR cluster within EAS and add both server locations into it
    I hope it helps
    Regards,
    John

  • Bridge CS5 Output Module only uses first 20 images and ignores the rest

    This happens with all the different styles, both PDF and Web.  Even though more than 20 images are selected, only 20 show up both in the preview and in the final PDF or web page.  It just started happening.

    It just started happening.
    This always means First Aid for Bridge, that is first to purge cache for
    folder using the menu tools/cache/purge cache for folder while having the
    content window pointed to the folder the problem occurs.
    Second option is renew preferences by holding down option key while
    restarting bridge and choose refresh preferences. Try again and if OK set
    prefs again to your wishes to see if it still works.

  • How to implement  business rules by using drolls in OSB

    Hi
    I am new to Drools,can any body tell how to implement drools concept in OSB11,provide any useful links or blogs.
    Thanks in Advance
    Mani

    Mani,
    I have implemented Drools by exposing them over web service call through Business Service of OSB.
    As you are using Java Callout, try to set proper return type for the java method called, better to use XMLObjects as the return type.
    http://www.xenta.nl/blog/2011/08/29/oracle-service-bus-java-callouts-with-xmlobjects/
    http://mazanatti.info/index.php?/archives/63-Oracle-Service-Bus-generating-XML-Objects-from-Java-Callouts.html
    http://blog.xebia.com/2009/10/11/java-callout-on-the-alsb/
    http://itnewscast.com/middleware/oracle-service-bus-java-callouts-xmlobjects
    How to retrieve the java object in a proxy service in osb -- Plz help
    Hope it helps !!
    Abhinav
    Edited by: Abhinav on Dec 12, 2012 4:21 PM

  • How can i use row set iterator to create multiple dummy detail rows upfront

    Hello i am new to ADF and jdeveloper and have a Forms 9i/PLSQL background.
    I have a 1 to many master to detail view link and 2 vo's one for each of the master and detail table.
    I am trying unsuccsessfully to create 7 unique detail rows up front to populate at a later stage.
    I have created a master record with primary key being staff number and week ending date.
    i then use code below to try and create 7 detail records - P.S i have trimmed it to the first 2 for demonstration.
    I am using
    RowSetIterator rsi = this.mydetailVO.getRowSetIterator();
    Row newRow1=rsi.createRow();
    newRow1.setAttribute("Staff Num","123456A");
    newRow1.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow1.setAttribute("Claim_Date", "2010-01-01");
    newRow1.setAttribute("Day", "Sun");
    rsi.insertRow(newRow1);
    Row newRow2=rsi.createRow();
    newRow2.setAttribute("Staff Num","123456A");
    newRow2.setAttribute("Week_Ending_Date", "2010-01-01");
    newRow2.setAttribute("Claim_Date", "2010-01-02");
    newRow2.setAttribute("Day", "Sat");
    rsi.insertRow(newRow2);
    However it does create two rows but it always writes over the first row with the details of the second row so they are not unique.
    How can i get a new unique row inserted with different details to the firat and how then do i access it uniquely.
    Thanks

    John thanks for reply.
    I have tried the following and still i get 2 rows created but the first one gets overwritten with the last one. I'm confused as to why the inbuilt insert row doesnt move it on to the next available row. Any idea what i'm not doing in between inserting rows?
    ViewObject vo1 = this.getmyVO1();
    vo1.executeQuery();
    Row newRow1 = vo1.createRow();
    newRow1.setAttribute("Staff Number","123456A");
    newRow1.setAttribute("Week_end_date", "2010-04-04");
    newRow1.setAttribute("Date", "2010-04-01");
    newRow1.setAttribute("Day", "Sun");
    vo1.insertRow(newRow1);
    Row newRow2 = vo1.createRow();
    newRow2.setAttribute("Staff Number","123456A");
    newRow2.setAttribute("Week_end_date", "2010-04-04");
    newRow2.setAttribute("Date", "2010-04-03");
    newRow2.setAttribute("Day", "Sat");
    vo1.insertRow(newRow2);
    P.S Yes they are dates but i made them strings for the time being until i get this working thanks for noticing.
    Edited by: user13012264 on 20-Apr-2010 04:19
    Edited by: user13012264 on 20-Apr-2010 04:20

  • Avoid child rollup to parent using Business rule

    Hi iam new to this hyperion planning.
    I want to spread values from parent to child. Once i spreaded the value from parent to child if any other user changed child data it should not be rollup to parent. By using business rule only
    Thanks in advance

    Then you must not run an aggregation on this data, at least for the dimension that you are spreading on.
    If you have a broad aggregation you run you could try fixing on non-Target versions only:
    FIX(@UDA("Standard Bottom Up")) before your aggregation should restrict to the versions you are safe to aggregate,

  • Is it possible to limit FX business rule to only records selected in logic

    We are trying to convert from the standard older FX logic (MULTICURRENCYTRANS). The business rule is definitely faster when I run FX over all the records (purposefully). However, every time the FX stored procedure is called from a script logic file (package) it is running over ALL the records for the category specified in the package selection criteria. However, it is ignoring the other selections (product in this case). It should only update FX for the records specified in the package selection criteria. Because of this we are seeing increased run times on the packages. Is there additional logic needed in the FX script? If this is normal behavior, the stored procedure/business rule for FX is not a feasibly replacement for the script logic FX process previously delivered by SAP.
    Is there a way to fix this so we can use the business rule?

    I figured it out. I needed to add a couple of dimensions that are being passed from the package front end. The delivered business rule only has category as a variable. I had to add our entity dimension and our user defined product dimension.
    SAP delivered:
    *RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
    Revised for our installation:
    *RUN_STORED_PROCEDURE=SPRUNCONVERSION('%APP%','%CATEGORY_SET%','%PRODUCT_CP_SET%','%COCODE_SET%','','RATEINPUT','%SCOPETABLE%','%LOGTABLE%')
    Carlos

  • DataExport in Business Rules

    Hi,
    is there a way to make the DataExport calcscript command works in Business Rules ?
    I made the script below to export data in a calcscript and it works fine.
    //ESS_LOCALE French_France.MS1252@Default
    SET DATAEXPORTOPTIONS
    DataExportLevel "LEVEL0";
    DataExportRelationalFile ON;
    DataExportOverwriteFile ON;
    DataExportDecimal 2;
    DATAEXPORTDIMHEADER OFF;
    FIX ("Probables", "FY08","Officielle",@RELATIVE("E23",0));
    DATAEXPORT "File" "," "D:\Hyperion\AnalyticServices_LTQuebec\APP\LTQuebec\Finance\Dump_Data\TestBV_SBQ.txt" "#MI";
    ENDFIX;
    The main objective is to have a level-0 file of all data for a specific version, scenario, year and entity. This file will be used (after modification like inluding alias and comments from Planning) as a reference by users.
    Now, I would like to move it in a business rule to be able to pass parameters from a Planning form.
    In my example "E23" is an entity and I would like it to change to follow user security in Planning (user will not be able to choose other entity than those they can access in Planning).
    I tried to do it in a report but it is too slow as we have 12 dimensions, 3 of them having more than 1000 members.
    Is anybody did something similar before (using DataExport or another method) ?
    Thanks

    Hi John,
    my problem is not with DataExport performance, which is really fast (5 seconds or less). We have only level-0 members included in the export and none currently has dynamic calc.
    The performance issue is with reports that take a long time to generate as we have 1000+ Activity * 1000+ Products * 1000+ Sectors so, basically 1,000,000,000 cells * the numbers of entities included. Last time I ran my test report, it ran for 6 hours before I killed it. Even with "Suppress Missing", it seems to try to extract all data first and remove missing after.
    This is why we changed to DataExport, which is more efficient. But the fact that DataExport seems to be unrecognized by business rules cause me the problem that I can't use parameters and users will be able to see entities that are not their own (unless I create 200 scripts, one for each users, which will not really be a solution).
    Thanks

  • Creating simple Business Rules in BPEL process

    Hi,
    I have an environment consisting of SOA Suite 11g running on Weblogic Server. I'm using JDeveloper 11g for development.
    Scenario
    I have a BPEL process which starts off by polling a DB table and I then assign the input to a Recieve activity's InputVariable. I have a 'Number' column which will contain a number between 1 and 3. I then require Business Rules (BR) to be set up which read this value, and based on the number, assign a 'Name' string (which is to be the output variable from the business rules) to be used later on in BPEL process.
    Problem - I have followed the basic tutorials available in order to set up the business rules, but am getting numerous errors. Firstly, I sometimes find that my input/output variables created during setup of BR component and the XSD based on this, does not have XML Faces automatically created for it (therefore have to create it myself by clicking on the + button and doing this for each element of XSD). When I do get this working, I then double-click on my Business Rules activity in my BPEL process, only to find that the input/output variables here no longer are assignable to my BR input/output variables as I get the following error "Exception: Problem Building Schema!".
    I am not sure why this is, but suspect that my XSD (which is very simple anyway) or the setup steps I follow to define the link to my XSD, are wrong.
    I have taken the following steps so far:
    1. Create empty BPEL process
    2. Set up polling adapter to poll DB table
    3. Create Receive activity and assigned polled input to created variable
    4. Add Business Rules component to composite and set up and create dictionary here. Also set up inputs/outputs to be in form of my XSD elements.
    5. Add Business Rules component to my BPEL process and configure this to include input/output variables (*This is where error occurs*)
    6. Go back to .rules component in composite to define rule and define rule
    Upon deployment, I get many errors most of which pertain to "Unresolved XML element... make sure XML element +xxxxx+ is defined in one of WSDL's that are referenced by the deployment descriptor."
    I have only imported a simple XSD containing two elements to this project. The other XSD is the one of my polling adapter. I've not created any input/output variables for the overall BPEL process as didn't think I was required to.
    Can you please help in getting this process doing the simple activities described at the top.
    I appreciate your help.
    Edited by: user10248308 on 10-Mar-2010 11:49

    Hi,
    Create a project with BPEL composite
    Now drag a business rule
    Now create input variable of type ur requestelement
    and output variable of type response element
    Now in rules designer page take decision table
    and then craete a condition (inputelement.input > 1000) and in the rule select true
    now create another rule select false
    Npw create an action with assertion and select the parameterized box there
    now in designer page for first rule assign some value (say 500) and for second rule some value(100)
    Now in bpel u have to assign a value to input var of BR
    Deploy the process
    If u supply 10000 u will get 500
    if u supply 100 u will get 100
    In the same way u can do by using If-Then
    You can use facts and bucketsets according to ur requirement
    Regards
    PavanKumar.M
    PavanKumar.M

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

Maybe you are looking for