Business Rule Attached to Composite web form not running

Hi
I created a composite webform and attached a business rule.Rule is supposed to run on save.But its failing to do so.Version is 11.1.2.3.I also tried attaching BR to the individual webforms along with the composite webform.Still not working.
Please give your valuable advice on this.
Thanks in advance.

Did you select Run "Rules from Form XX" in composite Form Business Rule section and select Run on save option ? Can you please provide screenshot of your BR section in Composite form and simple form ??

Similar Messages

  • Dev 6.0(Prod) web forms not running

    hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    with NT 4.0 and service Pack 3
    when i try to run the form through jinitinator or JDK provided
    with the package i get the following error.
    running with jinitator
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: no proxy
    java.io.FileNotFoundException: \forms60\f60all.jar
    at
    java.io.FileInputStream.<init>(FileInputStream.java:56)
    at
    sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    Code)
    at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    LConnection.java:162)
    at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    directs(Compiled Code)
    at
    sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    :171)
    at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    Code)
    at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    at sun.applet.JinitAppletPanel.run(Compiled Code)
    at java.lang.Thread.run(Thread.java:466)
    and with JDK
    Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    ==============================================
    ? help
    c clear
    f run finalizers
    g garbage collect
    m memory usage
    q quit
    t thread list
    ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    ]: cannot access file E:\WINNT\Java\.hotjava
    at com/ms/security/permissions/FileIOPermission.check
    at com/ms/security/PolicyEngine.deepCheck
    at com/ms/security/PolicyEngine.checkPermission
    at com/ms/security/StandardSecurityManager.chk
    at com/ms/security/StandardSecurityManager.checkRead
    at java/io/File.exists
    at java/io/File.mkdirs
    at sun/applet/AppletViewer.<clinit>
    at java/lang/ClassLoader.findSystemClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    Error getting package information: sun/applet
    com.ms.packagemanager.PackageManagerException: Package not found
    at com/ms/packagemanager/PackageManager.getPackage
    at
    com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at
    com/ms/security/SecurityClassLoader.findPackageManagerClass
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    java.lang.ClassNotFoundException: sun.applet.AppletViewer
    at com/ms/vm/loader/URLClassLoader.loadClass
    at java/lang/ClassLoader.loadClassInternal
    at oracle/forms/engine/Main.init
    at com/ms/applet/AppletPanel.securedCall0
    at com/ms/applet/AppletPanel.securedCall
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.processSentEvent
    at com/ms/applet/AppletPanel.run
    at java/lang/Thread.run
    what could be the problem have any one encountered this kind of
    problem.
    mobeen.
    null

    mobeen (guest) wrote:
    : hi i am using oracle8 OAS 4.0.7, Developer 6.0 production
    : with NT 4.0 and service Pack 3
    : when i try to run the form through jinitinator or JDK provided
    : with the package i get the following error.
    : running with jinitator
    : Oracle JInitiator version 1.1.7.11
    : Using JRE version 1.1.7.11o
    : User home directory = E:\WINNT\Profiles\Administrator
    : Proxy Configuration: no proxy
    : java.io.FileNotFoundException: \forms60\f60all.jar
    : at
    : java.io.FileInputStream.<init>(FileInputStream.java:56)
    : at
    : sun.net.www.protocol.file.FileURLConnection.connect(Compiled
    : Code)
    : at
    sun.net.www.protocol.file.FileURLConnection.getInputStream(FileUR
    : LConnection.java:162)
    : at
    sun.net.www.protocol.http.HttpURLConnection.openConnectionCheckRe
    : directs(Compiled Code)
    : at
    : sun.applet.AppletCache.getInputStream(AppletCache.java:588)
    : at
    sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java
    : :171)
    : at sun.applet.JinitAppletPanel.loadJarFiles(Compiled
    : Code)
    : at sun.plugin.AppletViewer.loadJarFiles(Compiled Code)
    : at
    sun.applet.JinitAppletPanel.runLoader(JinitAppletPanel.java:500)
    : at sun.applet.JinitAppletPanel.run(Compiled Code)
    : at java.lang.Thread.run(Thread.java:466)
    : and with JDK
    : Microsoft (R) VM for Java, 5.0 Release 5.0.0.3165
    : ==============================================
    : ? help
    : c clear
    : f run finalizers
    : g garbage collect
    : m memory usage
    : q quit
    : t thread list
    : ==============================================
    com.ms.security.SecurityExceptionEx[oracle/forms/engine/Main.init
    : ]: cannot access file E:\WINNT\Java\.hotjava
    : at com/ms/security/permissions/FileIOPermission.check
    : at com/ms/security/PolicyEngine.deepCheck
    : at com/ms/security/PolicyEngine.checkPermission
    : at com/ms/security/StandardSecurityManager.chk
    : at com/ms/security/StandardSecurityManager.checkRead
    : at java/io/File.exists
    : at java/io/File.mkdirs
    : at sun/applet/AppletViewer.<clinit>
    : at java/lang/ClassLoader.findSystemClass
    : at com/ms/vm/loader/URLClassLoader.loadClass
    : at java/lang/ClassLoader.loadClassInternal
    : at oracle/forms/engine/Main.init
    : at com/ms/applet/AppletPanel.securedCall0
    : at com/ms/applet/AppletPanel.securedCall
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.run
    : at java/lang/Thread.run
    : Error getting package information: sun/applet
    : com.ms.packagemanager.PackageManagerException: Package not
    found
    : at com/ms/packagemanager/PackageManager.getPackage
    : at
    : com/ms/security/SecurityClassLoader.getSecurityInfoFromPackage
    : at
    : com/ms/security/SecurityClassLoader.findPackageManagerClass
    : at
    : com/ms/security/SecurityClassLoader.findPackageManagerClass
    : at com/ms/vm/loader/URLClassLoader.loadClass
    : at java/lang/ClassLoader.loadClassInternal
    : at oracle/forms/engine/Main.init
    : at com/ms/applet/AppletPanel.securedCall0
    : at com/ms/applet/AppletPanel.securedCall
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.run
    : at java/lang/Thread.run
    : java.lang.ClassNotFoundException: sun.applet.AppletViewer
    : at com/ms/vm/loader/URLClassLoader.loadClass
    : at java/lang/ClassLoader.loadClassInternal
    : at oracle/forms/engine/Main.init
    : at com/ms/applet/AppletPanel.securedCall0
    : at com/ms/applet/AppletPanel.securedCall
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.processSentEvent
    : at com/ms/applet/AppletPanel.run
    : at java/lang/Thread.run
    : what could be the problem have any one encountered this kind of
    : problem.
    : mobeen.
    Morbeen,
    There is a document than helps a lot in
    \orant\tools\devdem60\web\readmem.ht. I have exacly the same
    environment and it worked fine with jinitiator (a little bit
    slow) and following this Cookbook.
    Regards,
    Rogerio
    null

  • Composite Web Forms/Business Rules

    In Planning, I've created a composite web form. Although I've selected the "Use Members on Data Form" box in the business rule properties with in the composite form, when I launch the rule the prompt box doesn't show the division that is represented on the current form, it pre-populates the last division that was used when launching a business rule in a normal web form. This works just fine when I'm in a normal web form, just not a composite. Any ideas of what might be going on? Is there a setting somewhere that I'm missing?

    I would be careful using business rules in composite forms. There are a bit unstable as composite forms are quite buggy. What you can do is try to apply the 9.3.1.1.8 patch release and see if this does not resolve your issues. This patch covers alot of bugs in 9.3.1 (which I assume is your version) including business rules stability with composite forms and substitution variable usage. Hope this helps point you in the right direction.
    best of luck

  • Business rules attached to form

    Hi
    Business rules attached to form was disappeared, after we install 9.3.1 shared services services pack1.BR's is there in EAS and i can run them from there.But i can not see them in any where in planning.I am not able to see in the list of BRs, when i am creating new form as well.I checked the securityin EAS for Brs, it is same as before,i added our admin group as well, still ican not see in planning....
    Plz suggest....
    Thanks,

    In EAS, check if the outline selected points to the application under the Planning server.
    Check for the access privileges and locations within EAS.
    Restart EAS, RMI and Planning. Login to Planning as the Planning administrator, then into EAS and check.
    Try using another administrator rather than the default admin.
    HTH-
    Jasmine.

  • Integrate Image-Select to Composite Web Form

    Hello,
    I try to integrate the ImageSelectComponent to a new web form by using the HowTo-Guide "Creating Component Editors for Composite Web Form Elements", so that the component will be displayed like the HtmlEditorComponent.
    That's not so easy as I thought, because I know nothing about the other components.
    [HowTo Guide|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/30c46426-829b-2b10-4286-ec70189e5de5]
    So can someone please help me?
    Best Regards
    Marco

    Did you select Run "Rules from Form XX" in composite Form Business Rule section and select Run on save option ? Can you please provide screenshot of your BR section in Composite form and simple form ??

  • Composite web form creation

    Hello gurus,
    I have created two webforms and would like to merge these 2 into 1...that is I want to make them composite.
    Can you list out the steps to create a composite webform please.
    Thanks, UB

    Hi,
    For creating Composite Web-form you just have to click create composite button, if you are using 11.1.1.3
    If you are using 11.1.2 then you have to click create button inside it click composite radio button and then add simple Data forms
    Regards,
    Avneet Singh Bhatia
    Edited by: Avneet on Dec 28, 2010 3:05 AM

  • Problems exposing a Business Rule in a composite as a Web Service

    Hi
    I am currently facing a problem invoking a Composite from within the BPEL.
    Scenario: I have created a composite which has one Business Rule Component. The composite deploys successfully to the Web Logic Server. (Successful compilation: 0 errors, 0 warnings). However there is a number of "ignoring messages" which do not affect the deploy. These ignoring messages could be the souce of my problem which I will explain later. Example of an ignoring message
    ignoring C:\Work\Project\ValidationProcess\Rules\xsd\PDQuality_DecisionService_1Types.xsd; not on source path
    Now if I create a new project composite which has a BPEL component. The BPEL component has a partner link to call the Composite mentioned above. When assigning variables i.e Input variables to the partnerlink service, I notice that the payload of the invoke variables ( TO Section) has an error "Exception - Problem building schema!"
    To prove that the partner service is working. I can view the WSDL in Internet Explorer. I can use the Eclipse WTP workbench to invoke the service ( Composite with Rules ). Now could it be that I am getiing this problem because initially when deploying the service (Composite with Rules) I was getting these ignoring messages and could it be that I should add all the ignoring source to the source path.... OR am I just embarking on a tangent!
    Any words of wisdom would be much appreciated.. Thanks in advance
    Using SOA 11G - 11.1.1.2 (WebLogic Server 10.3.2) and Jdev 11.1.1.2.0

    hi all,
    im also facing the same above issue.
    i created a 11g composite with BusinessRules component.
    when invokin that composite from 10g BPEL process ..im also facing the above mentioned issue
    "Exception - Problem building schema!""
    any help is appreciated
    thanks,
    karthik
    Edited by: karthik !! on Mar 11, 2010 4:00 PM

  • I can't get the file attachment in a web form to work

    I have a web form made in Business Catalyst that I'm having some problems with. I have added a file attachment option, but I can't get this to work properly.
    When a user chooses a file and sends the form, the message that is being sent includes the name of the file that was attached, but not the file itself! What am I doing wrong?
    This is the web form (in Norwegian, but you get the idea of where the file upload is) In this form, the file "produktark_plusstjenester.pdf" has been attached.
    The e-mail that is being sent now looks like this (I have removed the private information). But as you can see, it mentions the file produktark_plusstjenester.pdf (94,45 kb), but it is not attached in the e-mail itself.
    Hope someone can clarify this for me

    File on web forms is attached to the case. Go to the case in the admin and you can retrieve the file.

  • Business Rule err The following value is not valid for the run time prompt.

    Hyperion Planning v 9.3.3
    I have created a new BR with 2 local variables (created at the time of the BR), Variables are set as run time prompts. They are created as "Member" (not Members). The BR basically does a calc dim on dense and Agg on Sparce other than the prompt on Entity and Version dimensions. The entity variable has a limit on level 0 of the dimension. The Version variable limits to the input (Submit and Sandboxes)
    The BR is associated in Planning with an input web form. Entity and Version are in the page. Is set to Run on Save and Use members on form.
    If the run time prompts Hide boxes are checked, an empty Prompt pops up with only a Submit button. Click the button and an error comes up: "The following value is not valid for the run time prompt it was entered for:. But it does not indicate what member - just ends in the :.
    The BR will run sucessfully only if the Run-time prompt is not hidden - "Hide" in the BR is unchecked. So the syntax and logic of the BR is correct and security should not be an issue.
    The client wants no prompt. In production we have similar situations in which the BR works with the Web Forms without a prompt.
    What am I doing wrong - I have tried restarting the Planning service and the EAS service.

    My preferred method of doing this is:
    1. In business rule, do not hide the run-time prompts. This makes it easy to validate the business rule as you are building it. I only use Global Variables.
    2. On the form, have business rule set to run on save, use members on data form and hide prompt.
    Check that in the business rule, for the variables (Run-Time prompts), that they are all in use. If not, delete them from the business rule. Are all your variables global? Are some local and some global? This could be the issue.
    Deanna

  • Business rule for compare data in form

    Hi all,
    Let us explain my scenario,
    I have 2 dynamic calc members in a dataform. I just want to compare those 2 member rows( data compare) and show some message.
    is there any way i can make?
    can i create one business rule to make this happend? is it possible? If its possible can you give me your thoughts on this.
    Any information would be helpful.
    Thanks in advance.

    Sorry about that . . . . I read the first post and assumed the code was related to a business rule instead of JavaScript - should have looked closer.
    I would do a couple of things:
    1) Simplify your code. Why have a separate function? Why not drop all the logic into validateForm?
    2) Why haven't you populated the app name and form name in validateForm? (sorry if I missed this in the rest of the post somewhere)
    3) Insert alerts within the code that cycles through the cells. Something like this:
    cellVal = getCellValueXY(col,row);
    alert(" Column: " + col + "\n" +
    " Row: " + row + "\n" +
    " Cell Value: " + cellVal);
    This will tell you exactly how your JavaScript is evaluating each cell. This can help when you're dealing with floating point decimal issues. (you entered 10, but it's being evaluated as 10.00000001) If this ends up being your issue (floating point issues), let me know and I'll show you how to get around this.
    If you throw enough alerts at this code, your issue will finally show itself.
    4) I wouldn't assign values to "startCol" and "numberGridCols". I believe these variables are set elsewhere in the code (not in YOUR code, but in EnterData.js or somewhere else).
    Instead, I would use my own variables
    5) I would structure the code more like this: (I haven't validated this or tested it . . . . use this for suggestion purposes only)
    function validateForm()
    var valid = true;
    var c;
    if (equalsIgnoreCase(applicationName,"PUT YOUR APP NAME HERE")) {
    if (equalsIgnoreCase(formName,"PUT YOUR FORM NAME HERE")) {
    for (c=3; c<numCols; c++) {
    if((grid23[c] != missing) || (grid24[c] != missing)) {
    var actualVal = getCellVal(23,c);
    var budgetVal = getCellVal(24,c);
    if(actualVal != budgetVal){
    valid = false;
    if (!validated) {
    alert("The numbers you have submitted for SII are not equal to Actuals. Please adjust your numbers.\n");
    return valid;
    I hope this helps. Hopefully there aren't too many bugs in this.
    - Jake

  • File Attachment field on web form

    Hello all
    A really simple question but I cant seem to work it out. I have added a file attachment field to a web form but when somebdy uploads a image using this form my client does not get the file. I assumed it would go to his email but this does not seem to be the case? Is there a way that I can direct this files to a location or email account?
    Any info would be great
    regards
    Martin

    Because of the posibility of big files (up to 100mb) being stored sending those through emails is basiclaly not possible for the most part - they are emails. Even Google Gmail has a top out of 25mb which is bigger then most.
    The file is stored agaisnt the case in the system. The file in the workflow mentioned should at least be a link you click through to get the file via the admin. If not you click the case link and get it in there anyway.

  • Web Forms Not working on Client Machines with Separate Win

    Hi friends,
    We deployed all our Forms on web and we are using Developer
    Server 6.0 ,OAS 4.07, Oracle Jinitator 1.1.7.18 ,Netscape 4.7
    Browser
    My problem is we configured forms to open in a separate window
    this is giving problems on Client Machines they are getting a
    blank screen ,previously we used to open forms in the same window
    (browser ) at that time we didn't get any problem.
    We are using Oracle Jinitiator 1.1.7.18 & Netscape 4.7 as
    browser on Client Machines.
    Thanks in Advance...!
    Smita T
    null

    JInitiator will be downloaded only once - the first time when u connect to a web-forms application. After that - no problem. It is true that the first time it takes a little bit longer, but I think forms are working better using JInitiator. However - it is just a matter of settings how u will make your application to run. Oracle did great improvement of the speed introducing the forms servlet listener. I would expect even better performance with Forms9i. And Win2000 is not a problem, but combination between Win2000 and Pentium4 is. There is a way to avoid your (installation) problems however.

  • Web form not updating database with stored procedure

    Hello
    i have a problem with the web form updating the database i have a stored procedure which i need to connect to. If i execute the procedure in the SQL it will update the database but when i run the web form i get my catch error "could not update database".
    I have read so much on the net and my code seem ok but i,m just so lost.
    stored procedure
    PROCEDURE [dbo].[UpdateCustomer]
    @ID INT,
    @Firstname VARCHAR(30),
    @Surname VARCHAR(30),
    @Age INT
    AS
    BEGIN
    UPDATE Customer
    SET Firstname = @Firstname,
    Surname = @Surname,
    Age = @Age
    WHERE CustID = @ID
    END
    update code
    try
    SqlCommand command = new SqlCommand();
    command.Connection = conn;
    command.CommandType = CommandType.StoredProcedure;
    command.CommandText = "UpdateCustomer";
    command.Connection.Open();
    SqlParameter param = new SqlParameter();
    param.ParameterName = "@ID";
    param.SqlDbType = SqlDbType.Int;
    param.Direction = ParameterDirection.Input;
    param.Value = txtCustID.Text;
    command.Parameters.Add(param);
    command.Parameters.AddWithValue("@CustID", txtCustID.Text.ToString());
    command.Parameters.AddWithValue("@Firstname", txtFirstname.Text);
    command.Parameters.AddWithValue("@Surname", txtSurname.Text);
    command.Parameters.AddWithValue("@Gender", Gender.Text.ToString());
    command.Parameters.AddWithValue("@Age" ,txtAge.Text.ToString());
    command.Parameters.AddWithValue("@Address1", txtAddress1.Text.ToString());
    command.Parameters.AddWithValue("@Address2", txtAddress2.Text.ToString());
    command.Parameters.AddWithValue("@City", txtCity.Text.ToString());
    command.Parameters.AddWithValue("@Phone", txtPhone.Text.ToString());
    command.Parameters.AddWithValue("@Mobile", txtMobile.Text.ToString());
    command.Parameters.AddWithValue("@Email", txtEmail.Text.ToString());
    command.ExecuteNonQuery();
    lblMessage.Text = "Your Record(s) Have been Updated";
    command.Connection.Close();
    catch
    lblMessage.Text = "Your Record was not updated please try again";
    Thank you for your help

    To expand on Mike's advice.
    Change your catch to:
    catch(Exception ex)
    { // Break point here
    lblMessage.Text = "Your Record was not updated please try again";
    Put a break point in where the comment says.
    Run it.
    Hover over ex or add a quickwatch ( right click it ) and see what the error and inner exception is.
    I see several problems though.
    You have way too many parameters and Age should be int.
    They are objects  - they have a type.
    It'll be a string with your code there.
    Something more like
    command.Parameters.Add("@Age", SqlDbType.Int);
    command.Parameters["@Age"].Value = Convert.ToInt32(txtAge.Text);
    Although that might not cut and paste, it's air code intended to give you the idea.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Web form not quite working correctly

    I have created a simple web site with iweb and have entered a simple web form on my contact me page. I created the "form" in dreamweaver (an extremely simple form) and copied the html code into iWeb via the html snippet and online instructions. When viewing the page when posted, it appears fine, but whenever a user inputs data into the form and clicks submit, it navigates to a page of just my form HTML code, ie. a white page with just my form fields on it. Also, I downloaded some simple free code for a "date picker" for a date field on my form, and whenever this button is clicked, it opens that same window described before. Any suggestions on what can be wrong?
    Extra detail:
    I am hosting the site myself through apache.
    The forms action attribute is set to results.php
    The location of results.php is correct
    results.php is suppose to send an email to myself notifying me of the data just inputted.
    results.php was created outside of iWeb (since iWeb does not create PHP pages)

    Thanks for your suggestions. I got it working somewhat, but now having a slightly different problem. I have the form displayed correctly and when filled out and submit is clicked, the results.php is opened correctly (just a simple page stating "Thank you, we will contact you soon", etc.) I dont remember exactly how I got it working, but I remember it was something with the location of the results.php file itself (althought I still cant get the date picker javascript + swv working correctly, but I'm just going to remove that).
    My new problem is that in the results.php file I am using the mail() function to send the data in the form to my email address. Like I stated before, the results.php file displays correctly after hitting submit, with no php errors, but it just wont send me that mail. This problem is not related to iWeb and maybe I should just post it in another section, but does anybody know what could be wrong, or is there some type of setting that needs to be turned on for it to work? Thanks!

  • Business rule put figures to the blocks not created earlier

    Sometimes business rules put figures to the blocks that should have not been created yet. Business rules perform this activity without the usage of function (createnonmissingblk) which it should not. Please can someone tell me its reason?

    It can be a sparse allocation that it is doing.
    DATACOPY can create blocks
    Sparse assignment can create blocks
    @ALLOCATE can create blocks.
    Regards
    Celvin

Maybe you are looking for