How to get 2 buttons to do same process?

I have an process I created named ApprovalUpdates. The name is kind of misleading as it needs to fire whenever a new record is created or updated. This is a different table than the ones that my DML buttons are attatched to. I have a Create(Insert) button and an Update button. For my process(ApprovalUpdates) I would like it fired whenever the Create button OR the Update button is clicked. Since the "code behind" form for conditions on a process only allows you to choose 1 button, how do I do this?
Thanks in advance for your help!
Gib

Gib - You can add a PL/SQL Expression -type condition to the process so that it recognizes multiple REQUEST values, i.e., the value that is set when a button submits a page, e.g,
:REQUEST in ('CREATE', 'UPDATE')
... while ensuring that the buttons' request properties use those named values.
Scott

Similar Messages

  • How to get two parameters in the same line of selection screen?

    hello
    i need to get my selection csreen like bellow.
    r1 radiobuttion  -some space --p1 parameter
    i should not get the parameter in the next line of  radiobuttion.
    how to get two parameters in the same line of selection screen?

    hi....
    modify the following code
    it will work
    SELECTION-SCREEN BEGIN OF BLOCK SL1 WITH FRAME TITLE TEXT-003.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 10(15) TEXT-001
                     FOR FIELD P1.
    SELECTION-SCREEN POSITION POS_LOW.
    PARAMETERS : P1 TYPE   C USER-COMMAND R2 RADIOBUTTON GROUP R2 DEFAULT 'X',
      P2 TYPE SCARR-CARRNAME,
      P3 TYPE CHAR1 RADIOBUTTON GROUP R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK SL1.

  • The red, green and yellow buttons in the upper left corner of the screen disappear whenever I open Safari.  I cannot minimize the Safari window which I often need to do if I am coordinating multiple windows.  Does anyone know how to get those buttons back

    The red, green and yellow buttons in the upper left corner of the screen disappear whenever I open Safari.  I cannot minimize the Safari window which I often need to do if I am coordinating multiple windows between different applications.  Does anyone know how to get those buttons back?  I guess I could just switch betwen appliations, but I am used to doing it the other way.

    You're welcome 
    You had Safari in full screen mode.

  • When launching Illustrator on Mac OSX 10.9 I get an erro that the program is no longer supported on PowerPC. I tried moving the plug-ins to a different folder as the Adobe site suggested but no luck. Any ideas how to get this launched again? Same issue fo

    When launching Illustrator on Mac OSX 10.9 I get an error that the program is no longer supported on PowerPC. I tried moving the plug-ins to a different folder as the Adobe site suggested but no luck. Any ideas how to get this launched again? Same issue for Photoshop and InDesign

    You will need to uninstall, run the Cleaner tool and reinstall you adobe applications. Adobe apps don't take kindly to inplace updates of the OS on Macs.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How to get more downloads at the same time

    On my old computer I could download 20 files at the same time (or more, depending on the size). I've got a new computer now but Safari only downloads 4 files at a time: the other files are put on hold and start only when anotehr file has finished downloading.
    How can I enable more downloads at the same time?

    I'm not using any enhancings apps, so... that can't be it. I did go from 10.3.x to 10.4.x, but I guess that's not the point either. Maybe some internetsettings is keeping things from going full throttle...?
    I download from Usenet a lot and downloading multiple files with Safari was very nice: I'd get 20 50 Mb files within a few minutes on my computer. Now I can only get 4 files in that same time (I guess it's a bit faster but not much: I have a VERY fast connection!). Okay, all in all it still only takes half an hour (probably less) to download 3 Gb this way, but I just wonder what's holding Safari back...
    (BTW Downloading big files spread into rars is VERY nice! If I had to download a 3 Gb file as ONE file, it would take a LOT more time...! Makes you wonder why not all companies offer their software (specially larger files) in smaller parts... They used to do that in the early internet days because otherwise you would never ever get that file downloaded on that 56k6 line, but nowadays it still would be great if they offered everything in small parts!

  • How to get total button number in a application

    my application:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Button x="120" y="43" label="Button" id="a"/>
    <mx:Button x="231" y="43" label="Button" id="b"/>
    <mx:Button x="349" y="43" label="Button" id="c"/>
    <mx:Button x="120" y="96" label="Button" id="d"/>
    <mx:Button x="231" y="96" label="Button" id="e"/>
    <mx:Button x="349" y="164" label="Button" id="f"/>
    </mx:Application>
    i want to get all button number,and i want to contorl
    keyboard's up dowm left right key to get the corresponding
    button,please offer code
    ths

    "happyok" <[email protected]> wrote in
    message
    news:g7bk07$o5p$[email protected]..
    > my application:
    >
    > <?xml version="1.0" encoding="utf-8"?>
    > <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    > layout="absolute">
    > <mx:Button x="120" y="43" label="Button" id="a"/>
    > <mx:Button x="231" y="43" label="Button" id="b"/>
    > <mx:Button x="349" y="43" label="Button" id="c"/>
    > <mx:Button x="120" y="96" label="Button" id="d"/>
    > <mx:Button x="231" y="96" label="Button" id="e"/>
    > <mx:Button x="349" y="164" label="Button" id="f"/>
    >
    > </mx:Application>
    >
    >
    > i want to get all button number,and i want to contorl
    keyboard's up dowm
    > left right key to get the corresponding button,please
    offer code
    If you use a click event on each button,
    event.currentTarget.id.charCodeAt(0)-97 in the click handler
    will give you
    the button number.
    For the keyboard input, try
    http://livedocs.adobe.com/flex/3/html/help.html?content=Capturing_User_Input_3.html

  • N8 Home screen - how to get multiple buttons in a ...

    Hi,
    Nokia N8 home screen comes with two rows having 4 widgets / items each.
    I deleted the second row by mistake (which included Phone set up, messaging etc)
    I can't get it back now. When I try, I can only get one widget in a complete field (instead of 4).
    Can someone help me, how to get this row back?
    Thanks,
    Kaps
    Solved!
    Go to Solution.

    Options>Edit Content>tap screenand select add content>select Shortcut 1/2 . Once shortcut widget is added, tap and select settings and simply add the shortcuts you want in thet widget then select exit and then Done on the main screen.
    Good Luck
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • How to get the button name which triggred the post back

    i have multiple buttons on the apex page most of those have the event type as "post back". is there any way to get the button name through pl/sql which raised the post back event ?

    Tried v('REQUEST') or :REQUEST?

  • How to get form input in the same portlet using pageflow

    Hi this is premkumar
    i created 2 portlet in a portal how to get form input in the sampe portlet using
    pageflow
    help as early as possible

    Do to the complexity of the program we need to run it with sequences.  This is because we need to aquire data with DAQ until it reaches a certain point and then stop collecting so that it can do its process (only once for all times criteria is met), and then loop around till again collecting after DAQ drops back below certain point looking to once again reach that point.  Another flat sequence is going outside of this where I want to put the prompt and have a user input to affect how many times that that the inner loop is run (No a For Loop instead of the while loop will not work either for other reasons). 
    I just want to know if after the program starts you can have a user input that will change the effect of the rest of the programs action based on the number inputed.

  • How to get 2nd click event on same element

    HI,
     I have done on getting the position value of 1st click on Image here as given code:
    <Image Name="imgBackground" HorizontalAlignment="Center" VerticalAlignment="Center" Height="799" Width="799" MouseLeftButtonDown="imgBackground_MouseLeftButtonDown" Stretch="Uniform">
    </Image>
    OpenFileDialog op = new OpenFileDialog();
    ImageBrush ib = new ImageBrush();
    private void Image_MouseLeftButtonDown_1(object sender, MouseButtonEventArgs e)
    op.Title = "Select a picture";
    op.Filter = "All supported graphics|*.jpg;*.jpeg;*.png|" +
    "JPEG (*.jpg;*.jpeg)|*.jpg;*.jpeg|" +
    "Portable Network Graphic (*.png)|*.png";
    if (op.ShowDialog() == true)
    imgBackground.Source = new BitmapImage(new Uri(op.FileName));
    private BitmapSource CutImage(BitmapImage img, Point p1, int width, int height)
    return new CroppedBitmap(img, new Int32Rect(Convert.ToInt32(p1.X), Convert.ToInt32(p1.Y), width, height));
    double xAxis = 0.00;
    double yAxis = 0.00;
    private void imgBackground_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    Point center = e.GetPosition(imgBackground);
    xAxis = center.X;
    yAxis = center.Y;
    ib.ImageSource = CutImage(new BitmapImage(new Uri(op.FileName)), new Point(xAxis, yAxis), 200, 200);
    CanvasPanel.Background = ib;
    As in above code, I'm getting center point of that image.
     I want to get one more point on same image and need to calculate distance between two points(1st clicked point and 2nd clicked point)
    Suggest me the way to get that.
    Regards,
    Viswa

    I would store the co-ordinates as you click in  a private point variable.
    Call that B.
    Plus the last point in another A.
    as you click, swop B to A and pick up the current, save to B.
    And this function seems to do the distance calculation:
    public double GetDistanceBetweenPoints(Point p, Point q)
    double a = p.X - q.X;
    double b = p.Y - q.Y;
    double distance = Math.Sqrt(a * a + b * b);
    return distance;
    http://www.csharpdeveloping.net/Snippet/How_to_get_distance_between_two_points
    Hand it A and B.
    I would have though what you have called center is just the position the click is.
    Tea time now.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • How to get response from an asynchronous BPEL process in Java

    I'm experimenting with BPEL and doesn't seem to be able to get response from an asynchronous BPEL process. Here's the deal:
    I have a BPEL process that takes a string as input, and gives another string as output. This is a asyncronous process.
    I want to initiate this BPEL process as a web service so I generate a Webservice Proxy in JDeveloper 10g (10.1.3.0.4). The function to call the process is now called "initiate" and takes three arguments: the input string, a "org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo" and a
    "org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID".
    HTTP-Analyzer shows that invoking the BPEL process with initiate("somestring", null, null) results in sending a SOAP message to the BPEL process, which returns a "202 Accepted". How do I get the response from the process? My intuition tells me that I have to use that second argument, that EnpointReferenceType thing. How do I use that?
    Another question: If a asynchronous BPEL process does not exists (so the endpoint does not exist) the Java proxy does not throw an error when runned. It does not even sends a message. It exits with status 0! (This happens for example when deploying a new version of a process and when the "old" version is undeployed). Calling a non-existing synchronous BPEL process, the Java proxy DOES throw an error.

    Clemens,
    That all sounds logical. But somehow it is still a mystery for me ... Somehow I don't see what should be done.
    To call the async BPEL process I have the following procedure:
    initiate(String input, org.xmlsoap.schemas.ws._2003._03.addressing.EndpointReferenceType replyTo, org.xmlsoap.schemas.ws._2003._03.addressing.AttributedURI messageID)
    The first argument is the input for my BPEL process. The second is the address to a webservice that should handle the callback, right? The third is a messageID (makes sense, but why of the type AttributedURI?).
    Here lies my problem. It is not clear to me how these EndpointReferenceType & AttributedURI work. I can't find anything on the net about it. The AXIS examples as where mentioned earlier use other types (namely the "org.xmlsoap.schemas.ws.addressing.MessageID" and "org.xmlsoap.schemas.ws.addressing.ReplyTo") which are completely different.
    What I did so far:
    - I created an webservice proxy that listens on the onResult endpoint of the BPEL process.
    - I created an webservice proxy that calls the BPEL process through the initiate procedure, but it is not completely clear to me how to construct the EndPointreferenceType replyTo, and the MessageID. I did something like this:
    EndpointReferenceType replyTo = new EndpointReferenceType();
    // callback service running on local machine
    // This URI class is the java.net's version
    URI replyToURI = new URI("http://vaccinatie:8988/syncro-callback-context-root/stringconcatCallbackBindingPort");
    // This AttributedURI is the org.xmlsoap.schemas.ws._2003._03.addressing's version
    AttributedURI address = new AttributedURI();
    // the only public methos that made sense to me:
    address.set_value(replyToURI);
    replyTo.setAddress(address);
    // call the BPEL process
    myPort.initiate("test123", replyTo, address);
    But the above doesn't work (largely because I don't know what I'm doing here prob.:-) ) It does send the "test123" message, and the BPEL process does process it, but I don't seem to get the callback right.
    I hope this makes my problems somewhat clearer. I hope someone can help me, because I'm just a beginner in this whole "web service area" and seems to do something terribly wrong here, because it should be very simple. Thx.

  • How to get the changes during ABENDED replicat process

    Hi,
    I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
    My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
    GGSCI (db1) 30> alter replicat rep2 begin now
    GGSCI (db1) 30> start replicat rep2
    After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
    My doubt is.
    1. Is my command is correct for start the ABENDEND replicat process?
    2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
    3.How to avoid the ABENDED replicat process on production server?
    4.how to track the ABENDED process in production server?
    Please HELP:(
    Edited by: NaveenK on Aug 29, 2012 3:32 AM

    NaveenK wrote:
    Hi,
    I am working on Oracle GG bi-directional DML replication. I m stuck in one place.
    My target replicat process was ABENDED due to Error :- ORA-01403: no data found. I restarted my replicat process again by runing the below command
    GGSCI (db1) 30> alter replicat rep2 begin now
    GGSCI (db1) 30> start replicat rep2
    After restart the replicat process I can't see the changes on target server which I had applyed on source server during target replicat was ABENED.
    My doubt is.
    1. Is my command is correct for start the ABENDEND replicat process?
    2.How to get the changes on target server which applyed on source during ABNDED of targer replication?
    3.How to avoid the ABENDED replicat process on production server?
    4.how to track the ABENDED process in production server?
    Please HELP:(
    Edited by: NaveenK on Aug 29, 2012 3:32 AMHi Naveen. SQL Error 1403 means row not found. Your data is out of sync and you should fix this.
    By doing begin now when this happens, you are skipping all the transactions that were "in-line" since the process ABENDED.
    You have more than one way to deal with these things, first of all you should synchronize your data! This should get rid of the 1403 errors.
    Then you can write rules using REPERROR to tell the replicat how to behave in case of errors should come up.
    Using logdump, you can read the exact row which failed and find out the next RBA to skip that specific one if required. You should also configure a DISCARDFILE to get details about errors when they happen.
    Greetings,
    N K

  • How to get the activity instance id and process id

    Dear All,
    For my case, my boss require the workflow program processor can be runtime assigned . After research, I found the coding example like below:
    // dynamically assign a user to a role
    rtm.addRuntimeDefinedUserToRole(
                      // process instance
                      prInstance,
                      // role name
                      "Processor",
                      // user that is assigned (IUser)
                      user,
                      // user context (IGPUserContext)
                      userContext);
    // dynamically change the user assigned to a role for a particular task
    String prInstanceID = prInstance.getID();
    rtm.changeTaskProcessor(
                      // process instance ID
                      prInstanceID,
                      // activity instance ID
                      activityInstanceID,
                      // current user (IGPUserContext)
                      currentProcessorContext,
                      // new user (IGPUserContext)
                      newProcessorContext);
    But I don't know how to get the process instance ID and activity instance ID before I can apply this api in my webdynpro application.
    Any gentllement can give me an idea.
    Thank you.
    Regards
    Eric

    process =  GPProcessFactory.getDesigntimeManager().getActiveTemplate(
                                  // by specifying its ID "CCD2C3F1BED111DD9DFA005056A9416C",/
                                                 /* and the user accessing it */ userContext);
         //          retrieve the Runtime Manager
         IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
         // create an empty role assignment list
         IGPProcessRoleInstanceList roles = rtm.createProcessRoleInstanceList();
         //Initialising the input params
         IGPStructure params =GPStructureFactory.getStructure(process.getInputParameters());
         params.setAttributeValue("Name",value);
         //Starting the process
         IGPProcessInstance prInstance = rtm.startProcess(process,"Process Name","Process name",user,roles,params,user);

  • How to get the list of all running process in java

    hi all,
    i want to get the list of all running processes on my system. please let me know if it is possible to do with JAVA. which class i should use?
    waiting for reply
    bye

    Wrong forum. Just a hint.

  • How to get error message from the BPEL process

    Hi,
    We have some BPEL processes running in BPEL PM 10g. If any of these BPEL process fails, we would like to get the error message caused this process to fail.
    Please let me know where does the BPEL proccess holds (table/file) these details. or is it possible to get the error message programatically.
    Thanks

    You can go through below link that can help
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/faults.htm#sthref1186
    http://bpelknowledge.blogspot.com/2010/07/error-conditions-that-cannot-be-handled.html
    http://blog.whitehorses.nl/2009/11/03/error-handling-in-soa-suite-11g/
    Hope it helps!!
    Thanks
    AJ

Maybe you are looking for

  • Best way to make an image backup of a Boot Camp partition?

    I want to upgrade my Windows XP partition to Windows 7. Before I do, though, I want to make a complete image backup of the partition, so if anything gets terribly screwed up, I can restore from the image and be right back where I started. How can I m

  • Installation number and client copy

    Hi Gurus, Is client copy possible between two systems which has got two different installation numbers? This is a very basic question I know, but i don't see any other source of information. Even the client copy pre-requisites doesn't tell anything a

  • ITunes crashing everytime I tryto update my iPod?

    Everytime that i connect my ipod to my computer, it says updating ipod in itunes. but it just freezes and says that itunes has encountered an error and needs to close, and then i can Never update my ipod? any suggestions?

  • Directory structure in a JSC project

    Hi, I apologize if this is covered somewhere but I can't find it. I'm trying to set up a JSC project in a directory struture that is already defined. I can't find a way to tell JSC where the source, lib, and web files are relative to the project dire

  • Cluster and licences

    Hello ! I'm totally new at Oracle DB, and I really would appreciate if someone could help me to solve, what I would qualify as an "licence understanding problem" ;-).For our corporate we would like to completely switch to Oracle and we want to set up