Event is in Waiting state.

Hi,
The workflow for PR is not getting triggered because it does not recived any event.
So when i checked for event queue browser it shows an event for the same PR in waiting state.
Status of event is:
Bobject     Event               Workflow     Status
BUS2009     RELEASESTEPCREATED     WS90000057     Waiting because of e     1
Could any one please tell me what does this status mean.
Why the event is waiting, any reason behind it?

Hey thanks for the quick reply.
Yes these errors are temporary as now all events are getting posted successfully.
Now i just wanted to know what will be the reason for getting these Events in Waiting state.
Also what does it mean "Waiting because of e 1" in status fiels of event.
I just want to know the root cause.

Similar Messages

  • How to use a event structure with a state machine

    First, I would like to inform you that I only work on LabView part time, and have much to learn.  Anything I do learn, I usually forget until I need it again, because I only work on it part time.
    Using your StopWhileLoopMOD[1].vi, I am trying to put a state machine inside the event structure.  
    Related link: http://forums.ni.com/t5/LabVIEW/How-to-stop-while-loop-in-Event-case/td-p/465564/page/2
    Here is my application:  on the front panel, the user can select any combination of 7 different tests.  I have created cases to perform each step of each test in the correct order, but if the user presses stop, the tests won't stop because some of the cases have a while loop inside the event structure (like you mentioned is a bad idea).  The user should be able to stop the test, reselect tests to perform, and re-start the tests. 
    When the start button is pressed for the event structure, I need all the cases to run in the proper order, unless stop is pressed.
    In the past I have indexed an array and used that to run the state machine, but it won't stop immediately.  
    I have sub VIs that are built in while loops because the outputs of the product needs time to stabilize.  The state machine stops and waits up to a certain number of iterations.  If it passes the test, the while loop stops and the next state starts.  If it takes too long, it exits and reports an error.  Maybe I need to just use the state machine and not an event structure?
    Is there a good example of an event structure?
    metzler CLAD
    Solved!
    Go to Solution.

    I'm not sure exactly what you are asking, but it sounds like you want to script a bunch of tests and if the user says stop, to immediately stop the current test and abandon the others?  I'm going to assume that you know how to clear the array so that it will abandon the others, so I'm guessing that you are having trouble abandoning the current test?  If this is indeed the case, then the problem is that you are not able to propagate the message from the main VI FP which is the GUI to the sub vi which is the test, where the test may or may not have a GUI (FP visible) of it's own.  Threading was the first thing to come to mind, but this may not be necessary using events.
    You can do this by passing a refnum of the stop button to the subVI, where you can then add that wait to the event case structure.
    I've attached 2 VIs, mainvi.vi which is just a loop displays the count*2 (number of seconds passed since running) that will call subvi.vi and then check to see if the stop button is pressed.  mainvi.vi is by no means a state engine, it is just a simple loop for demonstration purposes.  subvi.vi just waits 2 seconds and leaves, it is a better structured state engine with an init state to start a poll case to wait for events and an exit state to clean up.  You can modify this any way you wish to get it to do what you want.  You will note that even if subvi.vi is being executed, it will terminate immediately when the stop button is pressed.
    Hope this helps.
    A
    Attachments:
    mainvi.vi ‏17 KB
    subvi.vi ‏33 KB

  • Sessions with Event "class slave wait" taking 100% CPU

    Hi experts,
    I have an issue in an 11.2.0.2 RAC database with 2 standby nodes that are driving me nuts.
    All started when I've been told there are 2 Oracle processes consuming too much CPU in the environment.
    I found 2 processes which takes 100% CPU each. These processes are Oracle processes into the DB and checking them out although they are registered in v$process and v$session, there is nothing related to them in v$bgprocess so I could not find out which oracle processes started these 2 OS processes.
    The view v$session shows them ACTIVE in the event "class slave wait". There aren't too much information about this event, at least I failed to find...
    Using dbms_monitor and dbms_system to create trace events did not create any tracefile. Only ORADEBUG was able to create events but with nearly no information inside the trace files.
    Questions I need to have answered or at least hints that I can follow to find the answer:
    1) what is causing the CPUs to be consumed at 100%? Which process?
    2) Why does these processes are using that much of CPU?
    3) What can be done to safely get over it?
    Honestly I don't know where else to look at except trying to get some help. Could someone give me a hand please?
    BR,
    Lauro Ojeda
    Edited by: LauroOjeda on 26/01/2013 06:44

    Hi Pal, thanks for your reply!
    Here are the answers:
    1. If it is RAC there is no such construct as a "standby node" and you say you have two of them. Please be specific ... is this RAC or Data Guard or a combination? Or do you have a three node cluster with all services pointing to only a single server wasting all of the resources of the other three?
    A: This is a combination of them. We have 2 nodes in a RAC environment shipping logs to two physical standby databases in another site.
    2. Two processes can not be at 100% of CPU any more than I can be 200% awake. Please show us how you arrived at this conclusion, on what hardware and operating system, and include a formatted (read the FAQ to learn how) extract showing what you are seeing.
    A: top in Linux shows two oracle processes consuming 100% (or nearly of it) of 1 CPU each. This is a 16 cores server (each primary node) so 2 of these are working on full capacity to service the described processes.
    3. What processes? Name them and again run a SQL statement and post the output so we can see what you are looking at.
    A: Like I said before I failed to find which background process they belongs to as there are no indications of them in v$bgprocess and in v$session/v$process either. I can see them in v$process and v$session but again, there are no indications of for which bg process they belong to.
    4. Is anything slow? Are there any problems with the system or are you only reacting to two numbers you think are too high?
    A: No, system is not slow because of that but the client wants to investigate and have it sorted as it is not normal.
    Additionally I found a bug in metalink which seems to be the culprit, but I'm unsure yet. This is Bug 12929268 : HIGH CPU ON ORA_O00N PROCESS
    Is any other information that I may provide you?
    Thanks for help!
    Lauro Ojeda

  • Lot of sessions with wait event - jobq slave wait

    Hi All,
    My db version is 10.2.0.4.0
    I have scheduled jobs through dbms_scheduler with repeat_interval of 20 mins(this for refresh of mviews).
    Now the job is in running state for a long time. then i checked the sessions..
    I have five session with wait event - "jobq slave wait"
    I check job_queue_parameter - 10
    select count(1) from dba_jobs;
    COUNT(1)
    8
    Now the job is in running state for a long time...
    Can someone help me how to proceed...
    Thanks,
    Suresh S.

    Post Operating System (OS) name & version for DB server system.
    Post results of
    SELECT * from v$version
    does following SQL return any rows? If so, they point to problem area.
    SELECT DECODE(request,0,'Holder: ','Waiter: ')||sid sess,
    id1, id2, lmode, request, type
    FROM V$LOCK
    WHERE (id1, id2, type) IN
    (SELECT id1, id2, type FROM V$LOCK WHERE request>0)
    ORDER BY id1, request
    /

  • How can current task in waiting state till completion of all threads.

    How can we implement the activity which will be in waiting state till all the sub threads initiated from this activity complete.
    I have implemented the workflow as once the flow will reach to an activity after that we are creating the multiple instances of event subprocess. Now i want to force user that he cannot take any action on the activity till all the event subprocess completes.
    Please help me in this scenario.
    Thanks

    Dan,
    I am trying to assign one request as a sub requests to different user. Now, Once all this sub requests complete then only user of main request should allow to action on task. Let me try to explain scenario from business point of view.
    Suppose, an employee is joining an organization. Now, HR is sending the request to different departments to collect the information. First day HR has send request to Finance & HR department, next day again HR has sent request to travel department & resource department. Now, till all this department responds to HR's query. HR should not allow to complete the current task from HR has sent the requests to all department.
    Please note that HR can send the request to all department at the same time or by different time interval.
    I tried to implement the scenario using the event subprocess which is message based & correlation has been set between the main process & event subprocess. But the problem is User is able to take action on the current task even if the subprocesses in running state. I want user should get message that "subprocess task is in running state you can not take action. subprocess task should complete first."

  • "Waiting" State

    Hi,
    I'm new to JavaFX and trying to get the hang of the Composer and states.
    I have multiple states that will eventually do many different functions but what I want is a "waiting" state that I can display between 2 other states.
    So for example the user clicks a button on state1 and while processing happens in the background on the button action event - I want to show a "waiting" state - then when processing is done - show state2.
    Here is some sample code:
        function buttonActionAtState1(): Void {
            // show waiting state
            currentState.actual = currentState.findIndex("StateWaiting");
            // do some processing here......
            try {
                Thread.sleep(1000);
            } catch(ex : InterruptedException) {
                    ex.printStackTrace();
            //now show state2
            currentState.actual = currentState.findIndex("State2");
    }In this code it never shows StateWaiting - the system sleeps for 1 sec and then State2 is displayed.
    Have I completely missed the ball here?
    How would I go about doing something like this using mostly the composer (the other tricky bit of course is that I can't edit any of the composer's generated code)
    The other alternative I thought of was showing a modal dialog-type waiting box - but I also have no clue how to do that.
    Regards,
    Justin.

    Hi Justin,
    Since you want to use a long term blocking task I would recommend you to start a thread on background.
    Be careful JavaFX is a single-threaded framework and it does not support cooperation with other threads. The best is to create a Java class which methods can be called from EDT and internally it starts a background thread and calls a call-back in EDT thread when the background thread finishes.
    Here is the JavaFX Script code that allows it but I would recommend you to move whole thread starting and processing into a Java class:
        function buttonActionAtState1(): Void {
            currentState.actual = currentState.findIndex("StateWaiting");
            // this can be used if you want to do some time-based task
            // which are not blocking this thread
            //javafx.animation.transition.PauseTransition {
            //    duration: 1000ms
            //    action: function ():Void {
            //        currentState.actual = 2;
            //}.play();
            // this can be used for heavy tasks which has to be done on background thread
            // so the EDT thread is NOT blocked
            // resolve what to do here and prepare the structure of result
            // use MyWork interface instead
            // note that MyWork class should be declared in Java (not JavaFX)
            // do not use any JavaFX binding feature/variables there
            def myWork = java.lang.StringBuffer {};
            def runnable = java.lang.Runnable {
                override public function run (): Void {
                    // do something here
                    // but you MUST NOT touch any variable from JavaFX
                    // or any component in design e.g. button
                    // since JavaFX is a single-thread framework
                    // you can use only def myWork e.g. Thread.sleep(1000)
                    //myWork.doSomeLongTermBlockingTask ();
                    try {
                        java.lang.Thread.sleep(1000);
                    } catch(ex: java.lang.InterruptedException) {
                        ex.printStackTrace();
                    myWork.append ("Hello World");
                    FX.deferAction(function (): Void {
                        // here you can access all JavaFX variables again
                        println(myWork);
                        currentState.actual = currentState.findIndex("State2");
            try {
                // note the the compiler will be warning you that
                // explicit use of threads is unsupported
                new java.lang.Thread (runnable).start ();
            } catch(ex: java.lang.Exception) {
                ex.printStackTrace();
        }Regards,
    David

  • Wait() statement causing blank JOptionPane -

    Hi All ,
    I got a unique problem . I m trying to explain the problem in brief .
    Description :
    In my code i have one Wait() statement and just after that one statement to display JOptionPane.
    code snippet (1):
    private synchronized void startEucClient() {
    if(securityToken == null) {
    try{
    wait(60000);
         if(securityToken==null) {
    JOptionPane.showMessageDialog(w, "No
    Response from the server\nEUC timed
    Out.", "Error",
    JOptionPane.ERROR_MESSAGE);
    Now what happens that once this wait() starts , another
    method is called where also on some validation i am
    displaying one JOptionPane .
    /// code snippet (2)
    private void methodWhileWait()
    if(some_validation)
    System.out.println(" Hello I M Here");
    JOptionPane.showMessageDialog(w,
    "Some problem with Login", "Error",
    JOptionPane.ERROR_MESSAGE);
    NOW THE PROBLEM IS :
    after wait() starts , methodWhileWait() is called and
    if{} conditions is satisfied and it also displays
    " Hello I M Here"
    BUT then JoptionPane gets displayed without displaying the message ( "Some problem with Login")
    ..so it is BLANK , and message comes on it only when
    Wait() is over .
    I m not able to understand. HOW TO HANDLE it.
    it should display the message then and there
    and NOT the blank-JOptionPane (till wait ends)
    ....WHEN i remove wait() statement then i dont get
    blank JOPtionPane but it displays message . BUT i need wait() also.
    NEED suggestions on this :
    1.IS IT THE PROBLEM of repaint() , how to avoid this ?
    2. can it be done with the concept of Thread
    , then HOW?
    PLEASE HELP.
    thanx n regds,
    Raj

    Try using the invokeLate() method from SwingUtilities class.
    For instance:
    SwingUtilities.invokeLater(new Runnable(){
        public void run(){
            JOptionPane.showMessageDialog(w, "No Response from the server\nEUC timed Out.", "Error", JOptionPane.ERROR_MESSAGE);
    });Also one problem might be if the wait() method runs in the event dispatcher thread. If this is the case then this thread (which manages the GUI) is not able to display any new components until wait() has returned.

  • CLR_Auto_Event and CLR_Manual_Event Wait States

    Hello,
    I'm hoping someone can clarify what I am seeing below:
    I have a SQL Server  which the 2nd top wait state according to the SQL Server 2005 SP2 dashboard is "CLR_Auto_Event" and "CLR_Manual_Event".  This server dosen't have CLR Integration enabled in "Surface Area Configuration", and we do not have any CLR applications.  I've checked this dashboard many times and CLR never appeared before, and nothing has changed on the server interms of new databases, and we don't host any applications on the server.  I ran a short profiler trace and didn't see any CLR Assembly Loads.
    Is there something I'm missing....?

    I should add that the wait states continue to increment as 30% of the servers total wait states.
    --sp_configure shows clr execution "disabled" "0"
    --select * from sys.dm_clr_properties  shows
    directory C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\
    version v2.0.50727
    state CLR is initialized
    --select * from sys.dm_clr_loaded_assemblies
    shows no loaded assemblies
    --select * from sys.dm_clr_tasks shows three records
    0x00000001378B8080 0x000000008001C1D8 0x0000000000000000 E_TASK_ATTACHED_TO_CLR E_ABORT_NONE E_TYPE_USER 0 0
    0x00000001672D0380 0x00000001244F01D8 0x0000000000000000 E_TASK_ATTACHED_TO_CLR E_ABORT_NONE E_TYPE_ADUNLOAD 0 0
    0x000000014B55E120 0x000000012113A1D8 0x0000000000000000 E_TASK_ATTACHED_TO_CLR E_ABORT_NONE E_TYPE_FINALIZER 0 0
    --Profiler trace still has no CLR events, but the waitstates increment

  • I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state.

    I am having trouble with app updates on my iOS 5 iPhone never getting beyond the "waiting" state. I have tried signing out/in of my account, rebooting and removing/re-installing the apps.  This started shortly after going to iOS 5 but I am not certain if that is related.  All updates that I try now are stuck in "waiting".  I also tried removing the apps and then installing via iTunes desktop sync with no improvement.  The only thing that I have not tried so far is a restore to a prior iPhone backup.  I have not been able to find anything to indciate what the updates on waiting on.  There is plenty of space on the iPhone (16gb available).  Any suggestions on what to try next? 

    Hello there, Missy.
    First thing I would recommend is to check your downloads queue to make sure there is not an interrupted download per the following Knowledge Base article:
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/HT1725
    If your download was interrupted using your iPhone, iPad, or iPod touch
    1. From the Home screen, tap the iTunes app.
    2. For iPhone or iPod touch, tap More > Downloads. For iPad, tap Downloads.
    3. Enter your account name and password if prompted.
    4. Tap the blue download arrow to resume.
    If you can't complete the download on your iOS device, you can download it in iTunes on your Mac or PC and then sync it to your iOS device. You can also transfer purchases from your iPhone, iPad, or iPod to a computer.
    For Apps, you can also try tapping on the application icon to resume the download, as outline in this featured discussion:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • IPad 2/iOS 5.1 app updates hung in a 'waiting' state

    After I upgraded my iPad 2 to iOS 5.1, I cannot update my apps. There are hung in a 'waiting' state. Any ideas how to fix this?  This is the first time I've run into this.  I've upgraded to 5.0, 5.0.1 with no problems whatsoever.  Now 5.1 fails to update apps all the time.
    Brian

    For the last few days, since the worldwide launch of the New iPad, Apple's servers have been overwhelmed.  Give it a few days to settle down as a more reasonable number of users access the store. 

  • Adobe Media Encoder Does Not Get out of wait state

    Processor: Intel Core(TM)2 Quad CPU queue 6600 At 2.40 GH Z
    Memory:  8.00 GB
    System Type:     64 – bit Operating System
    Operating System:      Microsoft System 7 Ultra
    When transferring a 1 min. 11 second video from Adobe Premier Pro 5.5 to Adobe Media Encoder 5.5, the file sits in the Media Encoder for hours in the wait state and never completes.
    All my Adobe software is up-to-date. How can I remedy this problem?

    The status "Waiting" indicates that the job is ready to be encoded. As of CS5.5, AME by default does not start processing the Queue automatically. Instead, it waits for you to start encoding by clicking the Start Queue button in the upper right corner of the window--it looks like the Play button on a media player or editing app. Watch folders are an exception to this rule: jobs that come in via watched folders start automatically by default.
    You have the option of having AME start encoding automatically. To enable this, check the "Start queue automatically when idle for <n.n> minutes" and set the desired wait period.

  • I have been having issues with Firefox lately. A thread is in wait state for minutes eating up CPU. More info available.

    When Firefox seems to hang, I usually cannot do anything else but wait until the process has completed whatever it is doing. I am reasonably sure it is a firefox process as it is reported by the wait state analysis.

    It would help to know more about your iMac.
    What year, screen size, CPU speed and amount of RAM installed?
    How full is your Mac's hard drive?
    How many applications do you run simultaneously in the background while working in another application?
    Do you run any antivirus software on your Mac? Antivirus software can slow down the normal operation of OS X.
    Do you run any "crapware" like Mackeeper or any other type of so called hard drive "cleaning" apps?
    Have you downloaded and installed anything recently that might have caused the erratic behaviour of your iMac?

  • File-File: Message are in Waiting state in Integration Engine

    Hi,
    I am trying to execute File-File integration scenario and the message is in Waiting state in Integration Engine.
    I am getting the following error in sxmb_moni:
    <b><SAP:Code area="MAPPING">JCO_SYSTEM_FAILURE</SAP:Code>
      <SAP:P1>Server repository could not create function template for 'SMPP_CALL_JAVA_RUNTIME</SAP:P1></b>
    I am getting the following error in the Visual Admin Trace:
    <b>com.sap.mw.jco.JCO$Exception: (123) JCO_ERROR_FUNCTION_NOT_FOUND: Server repository could not create function template for 'SMPP_CALL_JAVA_RUNTIME3' caused by: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: User SAPJSF has no RFC authorization for function group SYST .</b>
    Can any one tell me how to provide RFC authorization to SAPJSF user.
    Thanks in advance,
    Nagarjuna

    hi,
    that is the reason for your problem
    The user entered for LOGON in that does not have the requisite privileges.
    Would sugget you contact your basis team and ask them to make the connection going. Then, this problem will be resolved.
    To add more, SLDAPI and the rest are used for the connection between your ABAP and JAVA Stack. As, your mapping gets executed in the JAVA stack, during the execution, as this connection failed, so did your process.
    Get this onnection up and reunning and it willsolve this issue.
    Regards,
    Bhavesh

  • CONNECT BY LEVEL IN TRIGGER IS IN WAITING STATE

    WITH emp_data
         AS (SELECT 1 empno,
                    'mgr1' name,
                    NULL mgr,
                    5 num_of_reportees,
                    'Create' Status
               FROM DUAL
             UNION ALL
             SELECT 2,
                    'mgr2',
                    NULL,
                    6,
                    'Wait'
               FROM DUAL)
    SELECT *
      FROM emp_data;
    create sequence emp_data_seq start with 3 increment by 1;
    now I want to insert num of employees based on num_of_reportees column in the table for the emp status = 'Create' and below code is doing the same.
    INSERT INTO emp_data
       SELECT emp_data_seq.NEXTVAL,
              name,
              NULL,
              NULL,
              NULL
         FROM (    SELECT DISTINCT 'emp' || LEVEL name
                     FROM emp_data
               CONNECT BY LEVEL <= num_of_reportees AND status = 'Create');
    Initiall status will be Wait, whenever user changes it from Wait to Create only this operation has to perform, when I place this insert statment in trigger it's not executing and is in waiting state
    Could you please let me know how to achieve this requirement using trigger,
    I couldn't use the procedure for this requirement, Its a standard application and we are doing customization

    SQL> SELECT  *
      2    FROM  emp_data
      3  /
         EMPNO NAME        MGR NUM_OF_REPORTEES STATUS
             1 mgr1                           5 Create
             2 mgr2                           6 Wait
    INSERT
      INTO emp_data
      SELECT  emp_data_seq.NEXTVAL,
              'emp' || column_value,
              NULL,
              NULL,
              NULL
        FROM  emp_data,
              TABLE(
                    CAST(
                         MULTISET(
                                  SELECT  level
                                    FROM  dual
                                  CONNECT BY LEVEL <= num_of_reportees
                         AS sys.OdciNumberList
        WHERE status = 'Create'
    5 rows created.
    SQL> SELECT  *
      2    FROM  emp_data
      3  /
         EMPNO NAME        MGR NUM_OF_REPORTEES STATUS
             1 mgr1                           5 Create
             2 mgr2                           6 Wait
             3 emp1
             4 emp2
             5 emp3
             6 emp4
             7 emp5
    7 rows selected.
    SQL> SY.

  • Wait event "virtual circuit wait" in wait class "Network" was consuming sig

    Hello,
    We are facing this problem when there are 2 queries try to run at the same time.
    The first query takes longer to finish so 2nd has to wait for 1st to be finished and then only 2nd starts. It seems the jam is at netowork instead of server.
    I want to make sure before I start testing on network.
    I get following :
    Wait event "virtual circuit wait" in wait class "Network" was consuming significant database time. 98.4
    Wait class "Network" was consuming significant database time.
    and recommendations is stated as :
    Investigate the cause for high "virtual circuit wait" waits with P1 ("circuit#") value "21" and P2 ("type") value "2".
    I am checking OEM.
    Thanks,
    Shashi.

    Hello Sybrand,
    Can you suggest some changes to be done to test ?
    Here is my shared server config :
    SQL> show parameter SHARED
    NAME TYPE VALUE
    hi_shared_memory_address integer 0
    max_shared_servers integer
    shared_memory_address integer 0
    shared_pool_reserved_size big integer 135895449
    shared_pool_size big integer 0
    shared_server_sessions integer
    shared_servers integer 1
    Thanks,
    Shashi.

Maybe you are looking for