Workflow hanging - ST22 and SWU2 empty

Hi all,
Some of my workflows are regularly hanging (i.e. background task stuck in status "In process"). This happens on a random basis, and the only way to continue them is via SWPC.
When I look at short dumps in ST22 or at tRFC in SWU2 I do not see anything related to these workflows.
Is there any other place where I should check?
I am on ECC6, basis 7.00.
Thanks,
Patrick

If the updates are not clearly packaged into consistent LUWs then you may end up with a deadlock or other problems during the update.
@Mike : I totally agree to the fact . However we don't have much choice while using standard BAPI's.
We used to face this problem very frequently. Although it never got solved following were certain observations.
1. The frequency of  WF tasks hanging increased during high server loads. e.g. no of batch jobs running at their max
2. Somehow this seems to be linked to locks.
3. We raised OSS message but could not replicate this intermittent problem.
4. We rescheduled some jobs, hardware got upgraded (as scheduled) and during that time we saw a decline in such issues

Similar Messages

  • Workflow hanged- Background Task in Process.

    Hi All,
    Workflow hanged at background task with status in Process due to a dump…we change the logic now.
    How I can restart this task again?
    I checked in SWPC its empty.
    Thanks,
    KP

    Yes, SWI2_DIAG has a Restart Workflow' button.
    Did you try it already?
    Despite what the button name suggests, it 'resumes' the workflow from the current step
    (it doesn't 'restart' from scratch).
    cheers
    Paul

  • Automator workflow hangs indefinitely after running Python script

    Hello,
    I have an Automator workflow set up to use a one-line shell script to launch a Python script. The Python script has a GUI and stays open for the user to interact with it. It launches fine, but I've noticed that my Automator workflow hangs and the spinning workflow cursor won't disappear from the menu bar unless I manually kill the workflow or quit the Python app. Not a huge deal to kill it manually, but annoying.
    I saw someone posted a way to kill an Automator workflow using an AppleScript or shell script embedded within the workflow, but adding that as a second step doesn't work for me—the Automator workflow never gets to that step, presumably because it's waiting for my Python app to close. Anyone know a way to make the Automator workflow kill itself after launching a Python script?

    By default, AppleScript (and, by extension, Automator) will wait for theshell process to exit before continuing the workflow (or exiting if the shell script action is the last step.
    This can be overcome by launching the shell process as a background process, which returns control to AppleScript/Automator, and allows your workflow to continue (or end).
    Just append:
    &> /dev/null
    after your shell command to launch it in the background, e.g.:
    /usr/bin/python /path/to/your.py &> /dev/null
    and you should get what you expect.

  • WorkFlow hangs

    Hi,
    I'm receiving the below error on SCSM each day during night and all workflow hangs, any idea?
    Mom failed executing SQL Job p_DataPurging.  Details: Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding..
    Regards
    Antoine AL Ibry

    Yes true,
    I know this is due to SQL Stored Procedure dbo.p_dataPurging failed.
    checking the Job by:
    select
    top 1000 * from InternalJobHistory (nolock)
    where
    Command like 'Exec dbo.p_DataPurging'                    
    Order
    by InternalJobHistoryId desc
    Show Status id 0 with NULL Finished date
    Regards
    Antoine AL Ibry

  • Differnce between null string and an empty string??

    what is the major difference between null string and an empty string??
    I wrote the following simple program and I could see some different output.
    Other than that, any other differences that we should pay attention to???
    C:\>java TestCode
    Hello
    nullHello
    public class TestCode
         public static void main(String[] s)
         {     String s1 = "";
              String s2 = null;
              System.out.println(s1 + "Hello");
              System.out.println(s2 + "Hello");
    }

    There's a big difference between the two. A null String isn't pointing to an object, but an empty String is. For example, this is perfectly fine:
    public class TestCode
        public static void main(String[] args)
            String s = "";
            System.out.println(s.length());
    } It prints out 0 for the length of the String, just as it should. But this code will give you a NullPointerException:
    public class TestCode
        public static void main(String[] args)
            String s = null;
            System.out.println(s.length());
    } Since s isn't pointing to anything, you can't call its methods.

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • I cannot delete a file from the document folder.  I can move it to the trash and then empty the trash, but when I go back to the documents folder it is still there.

    I cannot delete a file from the documents folder.  I can move it to the trash and then empty it, but when I go back to the documents folder, the file is still there.

    Gay,
    I wonder what your computing environment is. Is your account being administrated by another account? Are you working in an account subject to "Parental Controls"?
    Jerry

  • Process Chain hangs on AND process

    Help Super gurus!
    I've tried several versions of a chain that loads multiple InfoPackages serially then multiple DTP in parallel using filtering from the PSA to a DSO. All load successfully. Then I have the DTPs all meet at an 'AND' process before processing should continue to a cube.
    The 'AND' process also shows green but it does not continue to the next process step. It just stops there, no more jobs running, no yellow, nothing. It thinks it's all done, everything after that is still blue.
    Why does it hang there and what can I do to get it to continue?
    Thanks,
    Al
    Points available.

    Hi,
    Not sure what is the root cause in your case.
    Try this. It may work. Normally this is done after a step turns red and no repeat is available.
    Method 1 (when it fails in a step/request)
    /people/siegfried.szameitat/blog/2006/02/26/restarting-processchains
    How is it possible to restart a process chain at a failed step/request?
    Sometimes, it doesn't help to just set a request to green status in order to run the process chain from that step on to the end.
    You need to set the failed request/step to green in the database as well as you need to raise the event that will force the process chain to run to the end from the next request/step on.
    Therefore you need to open the messages of a failed step by right clicking on it and selecting 'display messages'.
    In the opened popup click on the tab 'Chain'.
    In a parallel session goto transaction se16 for table rspcprocesslog and display the entries with the following selections:
    1. copy the variant from the popup to the variante of table rspcprocesslog
    2. copy the instance from the popup to the instance of table rspcprocesslog
    3. copy the start date from the popup to the batchdate of table rspcprocesslog
    Press F8 to display the entries of table rspcprocesslog.
    Now open another session and goto transaction se37. Enter RSPC_PROCESS_FINISH as the name of the function module and run the fm in test mode.
    Now copy the entries of table rspcprocesslog to the input parameters of the function module like described as follows:
    1. rspcprocesslog-log_id -> i_logid
    2. rspcprocesslog-type -> i_type
    3. rspcprocesslog-variante -> i_variant
    4. rspcprocesslog-instance -> i_instance
    5. enter 'G' for parameter i_state (sets the status to green).
    Now press F8 to run the fm.
    Now the actual process will be set to green and the following process in the chain will be started and the chain can run to the end.
    Of course you can also set the state of a specific step in the chain to any other possible value like 'R' = ended with errors, 'F' = finished, 'X' = cancelled ....
    Check out the value help on field rspcprocesslog-state in transaction se16 for the possible values.
    Thanks,
    JituK

  • I've deleted all my mail in iCloud and also empty trash, but iCloud mail still occupied my iCloud storage for 1.9GB. What do I do?

    Dear All,
    I've deleted all my mail in iCloud and also empty trash, but iCloud mail still occupied my iCloud storage for 1.9GB. What do I do?
    BR.

    Hi OaksterMe,
    In order to completely delete emails from your devices and free up space in iCloud, you should follow the steps in this article -
    iCloud: Reduce email storage space
    Thanks for using Apple Support Communities.
    Best,
    Brett L 

  • How to get list of block identifiers in a empty table and an empty index

    We have an application that has issue with ITL waits: this application is running many INSERT statements on a table that has 2 NUMBER columns and one primary key index. The application is designed to run INSERT statements but they are never committed (this is a software package).
    To check what are the really allocated ITL slots, I know that I can dump data block but I don't know how to get the block identifiers/numbers for an "empty" table and an "empty" index. Does someone knows how to do that ?
    PS: I already had a look to the Metalink notes and I have a Metalink SR for that but maybe OTN forum is faster ?

    You should be able to find the first data/index block with the following, even on an empty table/index.
    select header_file, header_block +1
    from dba_segments
    where segment_name = '<index or table name>';

  • Officejet Pro 8000 A809 - can I print just black and have empty color cartridge?

    I saw in a previous post entitled "PSC 1410 - can I print just black and have empty color cartridge"
    that the printer does color underprinting even when printing black and white, to prevent bleeding.
    My question is, is this also true when selecting the grayscale printing option in the printer properties dialog box?
    I installed the printer using an ethernet connection to a Dell Inspiron 8200 laptop computer running Windows XP Professional

    Yes you will still need the color cartridge.  The printer uses what is called under printing, it still uses some of the color cartridge's ink in this process, even when printing in just black, the reason is to stop the black from "bleeding"
    I was an HP employee
    If I have helped you solve your issue please mark it as solved
    **Say Thanks By Clicking on the Kudos Star**

  • I have iCloud set up fine on Windows 8 and it pulls shared photo streaming great, The problem is that in My Photo Stream folder the photos doesn't charge automatically and is empty, how can I do?

    I have iCloud set up fine on Windows 8 and it pulls shared photo streaming great, The problem is that in My Photo Stream folder the photos doesn't charge automatically and is empty, how can I do?

    Hey appleIC!
    Here is an article that will help you troubleshoot this issue:
    iCloud: My Photo Stream troubleshooting
    http://support.apple.com/kb/ts3989
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • I am trying to install Adobe Reader my wife's laptop but "installer" hangs up and fails with a blank black screen. The machine is capable and has a Vista OS. My wife blames the machine and wants to "throw it out." She's an idiot but I need to get this fix

    I am trying to install Adobe Reader my wife's laptop but "installer" hangs up and fails with a blank black screen. The machine is capable and has a Vista OS. My wife blames the machine and wants to "throw it out." She's an idiot but I need to get this fixed.

    run the cleaner (Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs) and then retry installing.

  • HT1338 Facebook doesn't open in safari on my MacBook Pro, why? Sometimes it opens and aftersome time just hang on and after that doesn't open at all.

    Facebook doesn't open in safari on my MacBook Pro, why? Sometimes it opens and aftersome time just hang on and after that doesn't open at all.

    There seems to be a few bugs with iCloud Mail at times, so send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
    Feedback
    Apple support article, but I don't think it really addresses your problem.
    iCloud - Mail Troubleshooting

  • Why does firefox hang up and say it "got confused", when I try to switch from using facebook as myself to using facebook as a page I manage?

    firefox hangs up and says it "got confused", when I try to switch from using facebook as myself to using facebook as a page I manage.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for