Workflow process does not complete for 3500 but works for about 10 records

Hi Gurus,
I am a novice in workflow. Pls bear if the questions are very basic.
We have a old custom workflow process which is inistaed by a PL/SQL procedure
WF_ENGINE.CreateProcess ---
WF_ENGINE.StartProcess ---
COMMIT; ---
Now this process has run for over 6-7 years but has always processed max upto 8 or 10 records at a time. Now we had about 4000 records in a table and the process was running for more than 4 days now and it has been termiinated.
I could not see any new item_keys. Is it because we have a commit only at the end.
This process has 3 sub processes. they are connected by 'AND' and then we have an 'End' node.
The first sub-process is simple and we can see a record in wf_items .
Howver no records are there in wf_items for the 2nd and 3rd sub processes.
How can we check the point where it has hanged. Querying Status monitor just gives the first sub-process that has completed. How to debug for these cases.
This has always worked for small volumes. Now we have about 4000 records and we face this problem
The process actually checks data from the table and based on some conditions , it send 5 different notifications to 5 different mail groups. So we expect about 4000*5 mails to be sent.
Any help is welcome.
Thanks,
L
Edited by: 901929 on 20-Jul-2012 01:38
Edited by: 901929 on 20-Jul-2012 01:39

L,
Please check the following:
1. Since this is pure PLSQL you can have a SQL script where you enable a database event to get a trace and then run tkprof on the output to spot any performance problem. You can use something like:
alter session set tracefile_identifier='Background' max_dump_file_size='unlimited' events '10046 trace name context forever, level 12';
begin
wf_engine.CreateProcess(...);
wf_engine.StartProcess(...);
end;
commit;
alter session set events '10046 trace name context off';
select fnd_debug_util.get_trace_file_name() tracefile from dual;
2. Do you happen to know if WF runtime tables are being purged regularly? If this is not done you can expect serious performance problems. If this is WF Apps embedded you need to clean data using the concurrent request Purge Obsolete Workflow runtime data, if not then you can use the APIs in package WF_PURGE.
3. You will only find one record in WF_ITEMS for this process if those sub-processes belong to the same item type
4. About the notifications, make sure you are not running into this design problem: https://blogs.oracle.com/oracleworkflow/entry/looping_within_a_workflow_process
Regards,
Alejandro

Similar Messages

  • When i burn a disk in Disk Utility, the burn completes but the verification process does not complete and my disk pops out. The error message i get is something like this "burn failed because disk cannot be verified," PLEASE HELP

    when i burn a disk in Disk Utility, the burn completes but the verification process does not complete and my disk pops out. The error message i get is something like this "burn failed because disk cannot be verified," PLEASE HELP.
    Also when i take the disk out it seems fine nd everything seems to be burned onto the disk. I am buring mac os x lion onto a disk.
    The disk i am using is nextech and i am burning at the slowest speed (4x).
    Also this is my 3rd time trying to do this and the verifying process keeps failing.... what do i do?

    see there
    http://www.techmixer.com/best-free-mac-burning-software-for-mac-osx/
    what you like most
    try different brand of CD/DVD

  • Motion tracking is not working for videos but works for images?

    Motion tracking is not working for videos but works for images. When the videos is drop onto the tracking object the videos corner don't appear highlighted. I am working on windows 7 with version 13.1.

    ivanhoeeurope
    Are you within 30 days of purchase for the Premiere Elements 13? And, did you purchase as a download from Adobe? If so, you can
    apply for a return/refund for 13. If you purchased elsewhere, then you would be governed by the return/refund policy of the seller.
    Adobe no longer sells version 12, so you would have to find a vendor who still has it in stock and purchase it. There is no way to "downgrade"
    13 to 12.
    What you may want to do is to download and install the Premiere Elements 12 tryout from the following web site to verify that 12 Motion
    Tracking works for you; whereas 13 cannot with regard to use of video for the Motion Tracking source media.
    Adobe Photoshop Elements 12 Direct Download Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    Apparently this web site does not sell the tryout. It just makes it available for use.
    Before I posted my reply to you I looked at Motion Tracking with video source media on both Premiere Elements 12/12.1 and 13/13.1 on the same Windows 7 64 bit computer.
    If any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Syncing process does not complete

    I have 2 iphone 5S models that go through the entire sync process but the sync does not complete.  Gets to the last step, "waiting for changes to be applied" and then the sync stops.

    What step would that be - for photo transfer?

  • Workflow process does not restart when re-ordering a PO

    We are running SRM 7.0 with Process Controlled Workflow and have configured N-Step approval process for PO.
    When the PO is ordered for the first time, the approver determination and the approval process work as expected. However, after the PO has been ordered, and the user makes changes to the ordered PO and re-orders it, the PO's approver list does not get refreshed, and the PO header shows the following staled information in "Approval" tab with "current status" = "Finished" -
    Process Step                   Status         Processor                      
    SRM Purchase Order Approval    Approved   <approver user name>
    And the PO would go into "Awaiting Approval" status but the PO work item does not appear in anybody's UWL.
    Any hints regarding the possible cause of this behavior are appreciated.
    Thanks.

    Hello,
    check in the BBP_PD the changed version po generated. there you will see if any WFL started or not. Or take the PO change version GUID and go at SWI6/swi1 to check the WFL log.
    At SLG1 should appear also, check if at table /SAPSRM/C_WF_CST you have the trace level set to 1. This will make slg1 take all logs (green and red).
    You can also always force a restart via BADI /SAPSRM/IF_EX_WF_PROC_RESTART
    Thanks,
    Melina

  • Disk Utility - secure erase process does not complete

    Help, please!
    It is taking "for ever" for Disk Utility* to securely** erase (a) the 37.25 GB hard drive in my G4 Powerbook (while booted from a startup disk), and (b) an external 55.9 GB firewire hard drive (connected to a 17" G4 iMac).
    After more than a day, the progress bar for the Powerbook is only about half way over, and the progress bar for the external hard drive is only about 1/7 of the way over. (See the notes marked * and ** below.)
    Additionally, the note next to the progress bar for the Powerbook has changed from "Writing random data to disk" to "Creating partition map".
    Yesterday when I tried this process previously, after a very similar situation developed I quit Disk Utility on both machines and started the process again - so now the situation is about the same as before I quit Disk Utility yesterday.
    * I am using Disk Utility v10.4.4 to erase the external drive. I am using Disk Utility off the boot disk for OS X v 10.3.3 for an iBook to erase the Powerbook - but I can't see what version at the moment because the pointer is currently a spinning "beach ball".
    **By "securely erase", I mean I selected the option to write random data eight times to each location.
    (Prior to starting the secure erasure process, I had Disk Utility write zeroes at all locations - and that process did completed within a few minutes for each hard drives.)

    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro 
    https://discussions.apple.com/community/mac_os
    http://www.apple.com/support/macbookpro

  • Import process does not complete

    When loading photos everything seems OK until the last photo shows being uploaded. Then the "Finishing Upload" bar never shows completion of the upload process. However, the window with two buttons (keep photos in camera or erase photos in camera) is present and operable. I can wait forever - hours for the progress bar about finishing upload to disappear indicating completion of this process but the bar just remains on the screen. I then click on the keep the photos and the process seems to complete normally. I then can edit the event just loaded, all pictures are in the event and each can be edited. The event just imported shows up in the 'all events". Then when I close iPhoto09 and later launch the application, that latest event is nowhere to be found. Last import is a blank screen. Selection of 'all events' shows all previous events but the one just imported is not there.
    Then to see if it was a hardware problem with the card reader or the CF card itself, I imported them successfully on a Macbook with no problem and they were there upon and close and re-launch of the application iPhoto08.
    I believe the problem lies in the fact that I never get a completion signal of the import process, but I don't have any idea of how to overcome this. All other features seem to work fine i.e. other events are available for viewing or further editing, all pictures seem available. Any ideas.
    Thanks for any help.
    Mike Hanrahan

    Terence,
    Thanks for the help, I created a new library as you suggested and successfully uploaded photos with no problem. So far so good. When I first started using iPhoto when the computer was new, the library was located on my hard drive in the pictures folder. Some time later I added two additional external drives or I guess the term is volumes. Drive 1 is for the time machine automatic backups and Drive 2 was added later and is dedicated for my iphoto library exclusively. At the time I added Drive 2 I moved (or maybe it was copying I'm not sure) all my photos from the internal drive to the external Disc2. So now I have three photo libraries.
    1) The original library on the internal HD with my early photos
    MacHD/Home/MP Navigator EX/Pictures/IPhoto Library
    where the 'MP Navigator EX' came from I have no idea
    2) Disc 2 library with all photos and which is apparently associated with the import problem.
    Disc2/Pictures/IPhoto Library
    3) The newly created library on the internal HD
    MacHD/Home/Pictures/iPhoto Library
    So when I followed your option 1, rebuilding the iPhoto Library Database , the computer just rebuilt library 3 above - the one just created with a few test pictures.
    I now have three questions:
    1) How do I direct/select the rebuilding of library 2 above? ( I assume that is what I should do)
    2) Once this problem is fixed, how do I tell iPhoto upon launch which Library to use?
    3) Once the drive2 library is rebuilt, is the rebuilding process one that generates any new
    libraries or other files that I need to be concerned about?
    With your additional help, I think my problem will be resolved.
    Thanks so much.
    Mike

  • E6 Social - does not accept my Email BUT works wit...

    Hi guys,
    I am a bit frustrated and also confused now. Normally I get through this kind of trouble shooting myself, but this is beyond me.
    I have been trying for ages now to log in to my Facebook account using Nokia Social on my E6 (love the phone btw). No success at all. I always get the same message:
    Incorrect User ID or password. Try again. Tip: password is case sensitive.
    Now, I asked my girl-friend to use her account settings and lo and behold, it worked first time.
    I have updated Nokia Social to latest version available (1.3.237) on Nokia Store. I have changed my facebook password to have no number (just in case). No luck.
    The only difference between my girl-friends FB accounts is that she uses a gmail.com email address and mine is a gmx.de (have used different email address previously with same result).
    I hope someone can explain this to me. I use the same login information on m.facebook.com and touch.facebook.com with no problems at all.
    Cheers,
    reims

    Hello,
    The problem isn't really the Password, but the default Servers if you choose MobileMe for account type.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
    • Server name: imap.mail.me.com
    • SSL Required: Yes
    • Port: 993
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    SMTP (outgoing mail server) information:
    • Server name: smtp.mail.me.com
    • SSL Required: Yes
    • Port: 587
    • SMTP Authentication Required: Yes
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • HT2500 Adding me mobileme account to mail will not work because it does not accept the password but works on iphone and ipad?

    I am attempting to add my mobile me account to mail on my iMac. The first step is to give the email address and the password. For some reason it does not recognize the password. It is the some password used on iphone and ipad and logging on to me.com

    Hello,
    The problem isn't really the Password, but the default Servers if you choose MobileMe for account type.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
    • Server name: imap.mail.me.com
    • SSL Required: Yes
    • Port: 993
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    SMTP (outgoing mail server) information:
    • Server name: smtp.mail.me.com
    • SSL Required: Yes
    • Port: 587
    • SMTP Authentication Required: Yes
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • App Store does not recognize my id, but works

    I have my MacBook Pro 15 (2013), iPad, iPad mini, and an iPhone 4. For some reason I could not menage to sinc iPhone reminders with MacBook. Just downloaded tweeter on my iPhone and got the message saying that somebody used my id from unauthorised device. The funny thing is my phone has same credit card information that other devices, and shows that I am signed in with the same id. Any suggestions? Thanks.

    Your advice did not help me. I also installed 10.7.4 combo but the situation is the same.
    my internet connection is ok, mail is ok, but app store after 3 resets does not recognize my ID and it says "connection is not possible". Why? I have the same problem in both my mac mini late 2009 and mac book air 2010? Is it a problem of 10.7.4 update? I have to solve this problem and how can i return to 10.7.3 if my last backup was not with 10.7.3???thank you for your kind collaboration...

  • Macbook Pro does not see Fast Ethernet but works fine with Gigabit Ethernet

    Hi to everybody,
      It is some time I have a problem connecting my unibody Macbook Pro (late 2008) to the ethernet cables in my office. There are 16 wall jacks in the lab, of which 13 are Fast Ethernet (100 Mbit/s) and 3 are Gigabit Ethernet. No matter what I do, if I connect to the 100 Mbit/s jacks, my Macbook does not see the connection and keeps saying "Cable unplugged". If I switch to a Gigabit jack, then a connection is quickly established.
    I have spent one whole afternoon debugging. Here is what I did:
    My computer dual boots Mac OS X and Linux. No matter which operating system I use, the problem is the same.
    Using different Cat.5 cables does not change the situation (I tried three of them.)
    All the 13 Fast Ethernet jacks do not work.
    All the 3 Gigabit jacks work smoothly.
    What puzzles me is that my computer happly uses the newest technology (Gigabit ethernet) but has problems with the oldest one. Has somebody else experienced the same problem?

    After a lot of struggle, I discovered that other people had this very issue as well. It seems that the cause is a faulty Realtek chip used in the ethernet cards of some MacBooks and other brands. There is apparently no way to fix this: I solved my problems by buying a Gigabit Ethernet switch which I connected to the Fast Ethernet wall jack. (Another option might be to use a Ethernet-to-USB adapter - but I did not try this as I have no adapter of this kind.)

  • Print Screen not working for user but working for Administrator

    Satellite A100 Laptop Print Screen Not working for USER but is working for Administrator[ New ]
    09-14-2009 11:25 AM
    Hi I am new to this forum and am asking for your  help.  We are sharing a computer, the PrtSc key is working for the Administrator but not when we switch users.  We have tried everything that we can think of: From opening a the page(S) we want to paste to not opening the pages. My most common usage is to PrtSc and paste it into an email , but barring that we have tried opening a page in notes, documents, word etc . Nothing seems to work.  I do not get an error message , it just won't paste. Since we are not computer literate we are hoping you can help us with a solution .  Thanks in Advance .

    Jerry, that post you just answered was from nearly 4 1/2 years ago!  And that's the last time the OP was here.
    C.B.
    Toshiba Sat. C75D-B7260 Win 8.1 64 Bit--Toshiba Sat. L775D-S7132 Win 7 HP SP1 64 Bit and Win 10 PRO Technical Preview--Toshiba Sat. L305-S5921 Win Vista SP2 32 Bit

  • Firewire 800 port doesn't work for cameras but works for Ext drives

    I have a Power PC G5 1.8 running 10.5.8
    I have a 9 pin FW 800 port on the back that does not work for cameras, trying to capture video into Final Cut Pro. But works fine when I hook up an external hard drive to it.
    Does anyone know why that is? It used to work, now it doesn't. Any suggestions?

    Does System Profiler>Hardware>Forewire tell us anything when the Cameras are plugged in FW/800 port?
    Do the Drives have an extra FW/800 port to plug the Camera in?

  • HELP - Website isn't working for me but working for everybody else

    Hey I'm new to this site so I'm sorry if this is in the wrong section!
    So I've been getting annoyed lately because my website (www.curtiskeay.com) isn't working for me and just redirecting me back to my hosting website saying that the website is 'coming soon' but it works for everyone else that has tried loading it, so it just seems to be me that it's not loading for.
    It works every now and then but very rarely for me, so it makes me feel that the site is down but really and truly it's just not loading for ME. It works perfectly fine at home on my wifi on my phone which is android and I use google chrome. I know this isn't probably a Apple related problem but I was unsure where else to post this.
    If anyone can give me any kind of help it would be greatly appreciated!
    Thanks,
    Curtis

    It's working here.
    Try this..   from your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:  Remove All Website Data
    Now empty the Safari cache.
    Back to Safari > Preferences. This time select the Advanced tab.
    Click: Show develop menu in menu bar
    Now go to the menu bar, click Develop > Empty Caches
    Quit and relaunch Safari then try your site.

  • Gatekeeper workflow process does not prevent re-rendering images

    We experienced some trouble with the workflow gatekeeper process:
    As far as I unterstood this process, it should prevent image rendering workflows to re-create all renditions if assets are imported via the package manager. So all our workflows contain the gatekeeper as first step - as seen in the original CQ DAM workflows.
    But every time I import/reinstall a content package, all my rendering workflows start again and create renditions for every image. This is unnecessary and overwrites all manually modified renditions. So our editors are not amused.
    What is the right way to use the gatekeeper or could it be, that it is buggy?
    Cheers
    Robert

    Hi GROM!T,
    According to the DAM documentation, you have to disable the com.day.cq.workflow.launcher.impl.WorkflowLauncherImpl OSGi component before restoring DAM assets from a package to prevent the workflows from triggering again (see [1]). 
    Also, you mention "all our workflows" which leads me to think you're using some custom DAM workflows?  You should be very careful there as it's really easy to trigger the DAM workflows multiple times. The gatekeeper step only seems to work the first time, so if you're triggering it multiple times it won't work.  Your best bet is probably to disable the launchers component then as I mentioned above, but you might want to check if you're not running into problems when moving or copy pasting your assets as well.  That's been causing us a lot of grief too...
    Regards,
    Jan
    [1] http://dev.day.com/docs/en/cq/current/dam/dam_documentation.html#Packaging Assets

Maybe you are looking for