PF Gets stuck in 'Ready' status

 4 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Lynne
Veteran Member
Posts: 122
Veteran Member

    I have enabled the Lawson delivered PF, pocostmsg.xml. This PF triggers when you enter an invoice with a higher cost than the PO.  So, to test, I enter a PO, receive it and invoice it with a higher cost than is on the PO.  It creates a cost message like it should. This does trigger the pocostmsg PF and a work unit is created. The problem is that the WU stays in 'Ready' status. If I 'Restart' it, it runs with no errors. There are no messages in the pflow.out file. Can anyone give me suggestions on what may be causing this?

     

    The strange thing is that there have been a few instances where I had other users do the workflow and it worked.  Also, sometimes after the WU sits in Ready status for an hour or so, they complete.

    All other process flows are working.  We have req approval which is triggered and none of these ever go to 'Ready' status.

    Thank you in advance for any suggestions.

    Robert Spurr
    Veteran Member
    Posts: 130
    Veteran Member
      Usually when I get work units stuck in the "Ready" status it is because of an application server issue. Process Flow is trying to process the request but is waiting on the application server to respond. What I have found is that Process Flow hangs onto an application server even when it goes down causing all kinds of issues. Also Process Flow leaves a lot of hung processes which over time slows down Process Flow giving the illusion it isn't working but in reality it's just very very slow. We have gone to periodic recycles of Process Flow. When that shows to be ineffective we occasionally recycle Lawson but before restarting our Admin looks and removes all processes still running. It is a pain but it works.
      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        It is not unusual for there to be missing references to the Form & Field Definitions for specific Services and if this is true then your WorkUnit will get stuck in a Ready status (you can Release it manually and it will work). I don't have system access right now so I can't look up which ones should exist for PO Cost Messages.

        Here's an example for Invoice Approvals: http://consultdavidw.blog...nvoice-approval.html
        David Williams
        Lynne
        Veteran Member
        Posts: 122
        Veteran Member
          Thanks for your suggestions. Lawson referred me to KB Article ID: 5379770. Since they eventually process, I believe this is probably the answer. We are going to change the eventMgrWorkunitTimer setting to 10 min and see what happens.
          Chris12
          Veteran Member
          Posts: 150
          Veteran Member
            We are experiencing the same issue where Workunits get stuck in the "Ready" Status ..... Lawson works fine but ProcessFlow seems like it is hung ... If we stop and start everything the workunits process .... Did anyone find a resolution for this