Event help

Hi,
Can anyone pass me a simple example showing how to use Events(Send,Receive & Raise) in workflow and also pass me any easy to understand document please.
I have already read document comes with workflow but it has not help me.
I will appreciate if someone can pass me a working example my email is [email protected]
Regards,
Saif

Have a look at the white paper "Getting Started with the Oracle Workflow Business Event System and Advanced
Queuing":
http://otn.oracle.com/products/integration/workflow/workflow_wp_bes.pdf
You might also consider taking the Oracle Workflow training courses available through Oracle University. There are both
instructor-led classes and self-paced classes, the latter through OLN.
Regards,
Clara
Hi,
Can anyone pass me a simple example showing how to use Events(Send,Receive & Raise) in workflow and also pass me any easy to understand document please.
I have already read document comes with workflow but it has not help me.
I will appreciate if someone can pass me a working example my email is [email protected]
Regards,
Saif

Similar Messages

  • Opening dbs thru button events, help, i`m a newbie..

    i have the following fn for opening the db
    public static void main(String args[]) throws Exception
    new login(new javax.swing.JFrame(), true).show();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    open();
    select();
    static void open() throws SQLException
    // ODBC data source name
    String dsn = "jdbc:odbc:dslogin";
    String user = "";
    String password = "";
    // Connect to the database
    con = DriverManager.getConnection(dsn, user, password);
    // Shut off autocommit
    con.setAutoCommit(false);
    static void select() throws SQLException
    Statement stmt; // SQL statement object
    String query; // SQL select string
    ResultSet rs; // SQL query results
    boolean more; // "more rows found" switch
    query = "select user,password from dblogin";
    stmt = con.createStatement();
    rs = stmt.executeQuery(query);
    // Check to see if any rows were read
    more = rs.next();
    if (!more) {
    System.out.println("No rows found.");
    return;
    // Loop through the rows retrieved from the query
    while (more)
    // System.out.println("kkkk");
    System.out.println("umm" + rs.getString("user"));
    System.out.println("ummmm" + rs.getString("password"));
    more = rs.next();
    rs.close();
    stmt.close();
    now my problem is this..while the above open and select fns work fine in void main, i`m trying to open the db upon clicking a button..heres what i tried to do :
    cmdsubmit.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(java.awt.event.ActionEvent evt) {
    cmdsubmitActionPerformed(evt);
    private void cmdsubmitActionPerformed(java.awt.event.ActionEvent evt) {
    open();
    seelct();
    when i try it i get the error message exceptions must be caught or throw or sumthing like that and i`m new to java so i`ve no idea how to go about doing it..help please..

    On JDBC:
    You only need to register a driver with the DriverManager once, and this is done (by JDBC conform drivers) when the driverclass is loaded. You may want to do this in a static initializer:
    import java.sql.*;
    class MyClass{
        static {
            try {
                // load driver class, which automatically registers itself
                Class.forName("sun.jdbc....");
            } catch(Exception ex) { /* handle it, throw error */ }
        // later
        Connection con = DriverManager.getConnection(...);
    }Even better is NOT to hard-code the driver at all. Use
    java -Djdbc.drivers=sun.jdbc.odbc.JdbcOdbcDriver;oracle.jdbc.OracleDriver MyClassinstead.
    Fritz

  • Event help please!!!

    Hello
    In a game I am currently making I have had some problems with The keyPressed() and keyReleased() methods. If i press spacebar to fire (its in keyReleased()) while i'm moving, my ship will stop (since the moving is controlled with keyPressed()). Also, on my computer I can move diagonally (ie hold two keys at once) but on my friends computer he can't. Third, my high score screen glitches if SHIFT is held down. So here are my questions:
    Is there any way to use keyPressed() and keyReleased() at the same time, or do they always conflict?
    Why is my friend's computer not registering two keyPressed()s at the same time, and is there any way i can fix this?
    Is there any way to check if a key pressed/released/hit is a key that gives a valid ASCII character?
    Any help is truly appreciated!!!

    You need another thread I am betting. You should not do any work in the event thread. just get the data out of the event thread but your work should all be done in another thread, or else just what you are talking about will happen. when the event thread is interrupted, your app will stop.

  • Button Event Help

    Hi, I have created a Frame that the user can draw in. It is a separate class that I call in my main program from a different file. I have a button on my frame that I want to run a method to save the graphical contents of the frame as a type Image. This works fine, and I have created the image. Now I need to return the image to my main program somehow. I want it only to return to my main when the button is pressed. The actionPerformed cannot contain a return statement, and I cannot call a getImage (from the frame) in my main anyway, because I want it to be initiated by the button push, which is located in the Frame file and not in the main. Can anyone help me? I will post the code. Ignore the Picture and InterruptedException in my actionPerformed class, they just convert the image in other classes, but they're not important. An explanation to return the image would be perfect.
    Here is my main:
    class LoadPictures
        public static void main (String [] args) throws IOException, InterruptedException, AWTException
            PaintArea pa = new PaintArea ();
            pa.loadArea (pa);
    Picture pic= pa.getPic() //<---false method. This is what I want to happen when you click the button in the frame.
        }}Here is my frame, entitled PaintArea:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class PaintArea extends Frame
        static int x, y;
        static Graphics g;
        PaintArea ()
            addWindowListener (new WindowAdapter ()
                public void windowClosing (WindowEvent e)
                    hide ();
            setSize (400, 400);
            setVisible (true);
            g = getGraphics ();
        public void loadArea (PaintArea pa)
            Button button = new Button ("Save");
            // pa.add (button);
            button.setSize (2, 2);
            pa.show ();
            final PaintArea pa2 = pa;
            button.addActionListener (new ActionListener ()
                public void actionPerformed (ActionEvent ae)
                    try
                        Image image = pa2.saveScreen (pa2);
                        //Picture pic = new Picture (pa2);
                    catch (AWTException e)
                        System.err.println (e);
                        System.exit (1);
                    // catch (InterruptedException ie)
                    //     System.err.println (ie);
                    //     System.exit (1);
            pa.addMouseListener (new MouseAdapter ()
                public void mousePressed (MouseEvent me)
                    x = me.getX ();
                    y = me.getY ();
                    g.fillOval (x - 5, y - 5, 10, 10);
            pa.addMouseMotionListener (new MouseMotionAdapter ()
                public void mouseDragged (MouseEvent me)
                    x = me.getX ();
                    y = me.getY ();
                    g.fillOval (x - 5, y - 5, 10, 10);
        public Image saveScreen (PaintArea pa) throws AWTException
            Image image = createImage (new Robot ().createScreenCapture (pa.getBounds ()).getSource ());
            return image;
    }Thank you very much, everyone!!

    When you open the frame, use wait() to suspend action in the main program. When the button is pressed, call notify() on the same object. Then the focus is back in the main program's code.

  • Ical missing events  HELP!!

    i post new events on ical and they disappear when i next log on YET they apppear on my other computer which subscribes to this computer's diary
    there also appears to be sync problems
    anyone recognise this issue? have a solution?
    seems to have happened since last system update
    ALSO i have recently started using my ipod video for my diary rather than old clickcwheel not sure whether this is relevant?
    HELP!!
    andy

    I've had similar problems since the last update .. I've had to dos disappear but they are there ... I solved that.
    I also had events created/copied etc. but not show up until I moved to a different calendar display and return to the display (e.g. week) that I created them on.

  • Clientside eventing help

    Hello all,
    Where do i get good examples/tutorials in Client side eventing. I tried the one available in PDK but couldnot recreate the example. What is the jar file to find the package "com.sapportals.htmlb.enum.EventTrigger" and where do I find it.
    Thanks,
    Maya.

    Hi Maya,
       The EventTrigger class is available in htmlb.jar
    You can search for htmlb.jar in your portal installation
    It has all the classes related to htmlb including the eventing classes.
    PDK is a good resource for examples on anything and everything. You will have to do a bit of search. If you are looking for something specific then you can post the same.
    PS: Please consider awarding points for helpful answers just by pressing the yellow star button on the reply in question and choosing the corresponding amount of points. Thanks in advance!

  • IFrame eventing help

    Valery,
    Thanks for your help with IFrame. This message is in continution to the message Web Dynpro Java
    I opened seperate thread as the clarification required is different.
    Now the clock is running okay. However, I need to capture the time that is displayed when a user clicks button. Any code in WD, is getting server time which most of the time varies from the client side desktop.
    Is there any way I can code where I get the latest time from the client side desktop and pass this information back to the R/3.
    I know the portal eventing to get the time from IFrame is limited. It does not really matter if I read the time from IFrame or not. I think if I can get the client side time within the action of button click is okay.
    If you need more details, please do let me know.
    Thanks and Regards,
    Raju

    Raju,
    There is no way to pass any parameters to WD application except for portal eventing and start-up URL parameters.
    So it is impossible "to capture the time that is displayed when a user clicks button"
    But all you have to know is time shift in hours at application startup time. For this, create redirect HTML page that will get user time via JavaScript, append time as URL parameter to WD application URL and call
    window.navigate(<wd-app-url-with-param>);
    WD application may get this parameter and calculate time shift between user and server time. Calculate up to hours precision (time zones has only offset by hours). Store this shift value somewhere in component controller attributes.
    Now when you receive IWDButton.onAction event just add / remove shift from server time and pass this value to backend.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Date/Time events help

    I'm trying to make vpet like game on flash for class, but I need to work with time and dates for events like feeding, sleep, etc.
    At least for now I need help figuring out how to make the game check like every 5 minutes to bring up an alarm about the pet needing food.
    Sadly all i have is this:
    stop();
    const millisecondsPerMinute:int = 1000 * 60;
    const millisecondsPerHour:int = 1000 * 60 * 60;
    const millisecondsPerDay:int = 1000 * 60 * 60 * 24;
    var date1:Date = new Date();
    trace(date1);
    I get the actual date, but don't know exactly what to do to make it check every 5 minuts or so. Don't know if it's with "if" or "do/while".

    OK, so I looked shareobject. Once it starts to play, it checks for data and since there is none it creates one.Now where I am stuck is how to make it store data in it.
    For example I found this online:
    var so:SharedObject = SharedObject.getLocal("test");
    if (so.size == 0)
      trace("created...");
      so.data.now = new Date().time;
    trace(so.data.now);
    trace("SharedObject is " + so.size + " bytes");
    so.flush();
    The game starts, the pet hatches after some time. How do I use or modifiy this to make the shareobject go straight into the newborn instead of the egg? Do I have to do something with the "so.data.now"?

  • JComboBox Event help

    sir
    i have three JComboBoxes .
    firstcombobox will be loaded on start up .
    basing on the First combobox item selected the second combo box is filled up.
    basing on the second the third one will be filled up.
    based on the third combobox the text feild beside it should be locked or unlocked
    i have the problem with the comboboxes events in which events i have to write all the three please help me

    in the following link there is a code example it will help u and u have to make combobox model to all stuff
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=688505

  • Upgraded to Iphoto 9.5 now all my photos are in one event - Help please

    I upgraded to iphoto 9.5.1 with the Mavericks update. Now all my photos (8,217) are in one event. I spent hours breaking them down into different events and now it's back to one. I tried repairing and rebuilding the database per other forum discussions but nothing changes.
    I'd love some advice on how to re-organize the photos without having the manually recreate all the events.
    Thank you!

    Thank you. All my event headings are gone but at least it's separated by date.
    I followed the instruction from some other discussion threads, held down option + command and tried the options to fix the library that way - it didn't make a difference.
    Thank you for your help. Guess I better but everything in albums since those are still ok.

  • All day event help

    Does anyone know how to get this in the notification center?

    did you take every all day event off April 1? even subscribed calendars?
    After you did that, have you tried to reboot your ipad? HOld down the sleep and home keys, past when you see the red power down slider and until you see the silver apple. Let it reboot and see if that helps.

  • Dispatching Custom Events Help

    Hello Everyone,
    I am just learning how to handle custom events, and after spending couple of days tring to understand the process, I am unable to get it going. What I am trying to do is to write a Two Button (component/swf). So when I need to utilize this component in other projects, I can simply load the the swf and be able to fire the buttons.
    I have two button objects on the stage, and I would like these two button object to fire custom events when the parent component is loaded as swf in other projects. Perhaps, I am going all wrong about what I am tring to accomplish here, I would highly appreciate your help.
    After some research, I concluded that I will need to employ Custom Event(s) going for my component. I spent hours on google and have not been able to get it working.
    Here is my code:
    ============================
    CustomEvent Class
    ============================
    package com.custom.apps
        import flash.events.Event;
        public class CustomEvent extends Event
            public static const CUSTOM:String = "custom";
            public var arg:*;
            public function CustomEvent(type:String, customArg:*=null, bubbles:Boolean=false, cancelable:Boolean=false)
                super(type, bubbles, cancelable);
                this.arg = customArg;
            public override function clone():Event
                return new CustomEvent(type, arg, bubbles, cancelable);
            public override function toString():String
                return formatToString("CustomEvent", "type", "arg",    "bubbles", "cancelable", "eventPhase");
    ============================
    DISPATCHING THE EVENTS
    ============================
    import com.custom.apps.*;
    btn.addEventListener(MouseEvent.CLICK, clickHandler);
    function clickHandler(e:MouseEvent):void
        dispatchEvent(new Event(CustomEvent.CUSTOM, customHandler));
        //trace("FIRED");
    function customHandler(e:CustomEvent):void
        trace(e.target);
        trace('hello');

    Kalisto,
    I appreciate your help. Do I have this right? So I can build a navigation component with two links:
    LINK1 | LINK2
    then I load this navigation component/swf into another project and when I click on either of the links, it will dispatch a CUSTOM EVENT and when the event is dispatched, lets say I have a  function (sayHello) listening for that particular event and when the CUSTOM EVENT is dispatched when one of the navigation component's link is clicked the (sayHello()) function would fire itself.
    Can this be done? Am I on the right track?
    I have been at it for couple of days now, I am able to dispatch the event but don't know how to have a function listen for the events. I would highly appreciate it if you can have look at my code.
    Thanks a lot

  • Ical reverts and wont let me edit or delete events - help!

    I just installed Lion and am using Icloud - I delete an event and it pops back up right before my eyes.  I try to change an event to all day, it moves to the all day section for a second and then returns to the original time.
    Any ideas?

    That's because your iPod shuffle is likely configured to automatically sync with your iTunes library.  If you would like to be able to manually add, remove, and edit tracks on your iPod Shuffle, you'll need to enable the Manually manage music option from under your iPod's Summary tab. 
    See this article for more information and assistance.
    http://support.apple.com/kb/ht1719
    B-rock

  • EPCF Eventing Help

    I am trying to perform eventing using a URL iView and am having the following issues.
    The code for the iView resides on a different server to the portal, but I have relaxed the domain and confirmed that both domains are the same.
    I have also imported the epcfproxy.js file onto the server where my url is located - this was to prevent errors I had that "EPCMPROXY is undefined"
    I have placed the iView into a portal page as the sender iView and have the receiver BW iView on the same page. I have set the isolation method of the page to URL.
    When I debug the code, I am unable to access the parent.EPCM (parent.EPCM is null or not an object)
    <script src="epcfproxy.js"></script>
    <script>
    <!--
    // relax domain
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
    //event from onclick below
    function raiseEvent(value) {
    var data = EPCMPROXY.getVersion();
    // here the value returns as null, if I take out the
    // try and catch statements, it returns parent.EPCM is
    // null or not an object
    alert(data)
    similarly, my EPCMPROXY.raiseEvent() does not call the receiver.
    Any direction would be greatly appreaciated. I am fairly inexperienced with the portal applications and web design.
    Kerr White

    I am trying to perform eventing using a URL iView and am having the following issues.
    The code for the iView resides on a different server to the portal, but I have relaxed the domain and confirmed that both domains are the same.
    I have also imported the epcfproxy.js file onto the server where my url is located - this was to prevent errors I had that "EPCMPROXY is undefined"
    I have placed the iView into a portal page as the sender iView and have the receiver BW iView on the same page. I have set the isolation method of the page to URL.
    When I debug the code, I am unable to access the parent.EPCM (parent.EPCM is null or not an object)
    <script src="epcfproxy.js"></script>
    <script>
    <!--
    // relax domain
    if ( document.domain.indexOf(".") > 0 ) document.domain = document.domain.substr(document.domain.indexOf(".")+1);
    //event from onclick below
    function raiseEvent(value) {
    var data = EPCMPROXY.getVersion();
    // here the value returns as null, if I take out the
    // try and catch statements, it returns parent.EPCM is
    // null or not an object
    alert(data)
    similarly, my EPCMPROXY.raiseEvent() does not call the receiver.
    Any direction would be greatly appreaciated. I am fairly inexperienced with the portal applications and web design.
    Kerr White

  • Flex kbd event help

    Using the example I found at http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf64a29-7fdb.html, I modified my Flex app to listen for keyboard shortcuts being pressed.  It works but only after the user clicks on a blank spot on the web page.  Why?  This is for accessibility and if I make my blind users click using a mouse, it defeats the purpose... Is there a fix for this so that the keystrokes are detected without clicking on the page or am I doing something wrong?
    Here is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application 
    xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
    library://ns.adobe.com/flex/spark" xmlns:mx="
    library://ns.adobe.com/flex/mx"creationComplete="init()"
    minWidth="
    955" minHeight="600">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script source="BGBasicPlay.as" >  
    </fx:Script>  
    <fx:Script>
    <![CDATA[
    import mx.core.FlexGlobals; 
    protected function init():void {FlexGlobals.topLevelApplication.addEventListener(KeyboardEvent.KEY_DOWN,keysPressed);
    // has to set focus then click to work!!!
    protected function keysPressed(evt:KeyboardEvent):void {txtKeys.text = evt.keyCode +
    "/" + evt.charCode; 
    var nKeyPressed:int = evt.keyCode; 
    if (nKeyPressed == 80 && evt.shiftKey == true){
    PlaySong2();
    else { 
    if (nKeyPressed == 80 && evt.shiftKey == false){
    PlaySong();
    ]]>
    </fx:Script>
     <s:Button x="250" y="105" label="Play Song" id="btnPlay" />
     <s:TextInput x="224" y="63" id="txtKeys"/></s:Application>

    After wading through over 100 posts, most were either unanswered or had general replies such as yours with no real useful information on how to do this.
    The closest answer I found was this:
    "This is a known bug of Flash Player/Mozilla browsers - SWF does not receive focus at start-up.
    I am not aware about any suitable workaround available. The closest workaround is to place a button and allow user to click on it which will give SWF a focus.PS It works in IE without any problem. Good old MS "
    That answer was posted in 2008.  It is now 2011 and you would think that this would have a fix by now... especially with all of the pressure for accessibility.  IE 8 apparently now has this problem as well.
    So, instead of sending me on a wild goose chase, it would really have been more helpful to have received an actual answer from you.

Maybe you are looking for

  • IPhone remote app won't connect to my iTunes library

    -Already seen this question, but for older versions and slightly different problems, so I'm asking it again, sorry -running IOS 10.0.2 on iPhone 5, Mac OSX 10.6.8 -iTunes recognises my device but the option to type the 4 digit code doesn't come up, w

  • Creation of followup task with a time delay.

    Hi experts, We are configurating a scenario where in a activity should generate a followup task automatically after 30 min. I have configured the above using the action profile and date profile. I have used the start condition as :           & planne

  • Open Items Selection  - Error Message 5593

    Hi Freinds, While clearing the open items using the T Code F-03, the items are initially selected. However, when the users try to deselect the items using the 'Deselect' option, the system gives the error message "Check Marks were removed" Message No

  • After updating to 7.0.6, ipad stuck on apple loading screen

    This afternoon I got a notification for a new software update, iOS 7.0.6. I iniciated the process directly from my iPad 2, it took a minute or two for my ipad to turn itself off and start a loading process (black screen, apple logo), but it never got

  • How can I dynamically change a Grids ro color

    Hi, I am using a grid within a component in my Flex application. I have an XML dataProvider, and I want to change the row colour of my Grid depending on a value coming form my dataProvider – but I cant seem to get this to work :( can anyone help / ad