Workflow task stays in 'In process' status. - Urgent Please

Hi Workflow Gurus / Ramki,
My workflow task ( which is a background task) remains in <b><u>'In process'</u></b> status. If I test this task using SWUS, it works fine but doesn't work when workflow is triggered.
Any clue ?
Please help. It is bit urgent.
Warm Regards.
Pras

Ramki,
What a star you are !
I checked short dumps and managed to resolve this issue.
Full points for your mate.
Regards.
Pras

Similar Messages

  • Workflow tasks related to error processing when u201Cinvoices received via EDI"

    Hi all,
    Please tell me the process like how an workflow tasks related to error processing when u201Cinvoices received via EDI".
    Give me in details the inform.
    Thanks in advance
    Chakri

    Hi Sven,
    Please implement SAP Note: 1321676 in your backend system to solve the current issue.
    But later you will have to implement SAP Note: 1380788 also in your backend system to solve some other issues.
    Regards,
    Binson

  • Error in Process chain( Urgent Please )

    error in Process chains:
    My Process Chain errors out in the step to activate the ODS after loading data inot it.
    The loading is correct and green. The Activation step errors out .
    Can u please explaing me the error messgae what it means & how to overcome the error & correct it ?
    I get message like this :
    Req. REQU_0WBTMPS7KTKP9BWTZ173XWX3Y, data package 000001 with status 2 in rsodsactreq missing in return
    Message no. RSMPC129
    Diagnosis
    Request REQU_0WBTMPS7KTKP9BWTZ173XWX3Y, data package 000001 with status &3 in table 'RSODSACTREQ' is passed to the return structure as correct.
    System response
    The return structure is corrected and the data package is marked as incorrect.
    Message was edited by:
            Chris Gokul

    Chris,
    Looks like a request has not got deleted properly from the table :
    Options that you could look at :
    1. Delete all the data from the ODS and load again ( if that is an option )
    2. There are some entries you need to delete from the RSODSACTREQ table- but for this the suggestion would be to raise an OSS note for SAP to look into the same - we had a similar issue and raised an OSS note for the same and then got some notes from sap.
    Also please mention your BI version and patch level.
    Arun

  • Stat machine workflow task workflow status different values on different state activity(Approval level)

    i have developed the State machine workflow in which i am using default workflow task
    i have added one status dropdown and that is having approve or reject that i set using workflow task drop down values
    now my requirement is that when my workflow goes to different approval i need to have different status values in dropdown
    for example
    on manager approval state activity i need to add additional status value forward to legal
    but when it moved to next activity this task status field should show only approve and reject
    in summary i need to have different status values for workflow task when it moved to different state activity(approval levels)
    can we set these status field of task for state machine workflow programtically as well like for different approval level of task i need different status to be set for the dropdown of task status field
    MCTS,ITIL

    Hi Shahid Siddique,
    I have seen a similar thread from you about this issue, create custom form for the seperate form is a considerable workaround, you can have a check whether it works.
    http://social.technet.microsoft.com/Forums/en-US/9baa0c32-1cde-4c58-aa7c-3568ccf0cdc9/different-approval-level-of-task-i-need-different-status-to-be-set-for-the-dropdown-of-task-status?forum=sharepointdevelopmentprevious
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Workflow Task Not Completing

    I have an odd one. I have a workflow that we have been using for over a year, (has run over a 1000 times) and have not encountered this issue with it previously. I have 1 particular running instance of the workflow that has a Task that will not
    'complete'.  Other tasks are updating/completing with other instances of the workflow.
    With this particular task, if you Approve or Reject it, the Task record gets updated (Modified date changes), but the Outcome remains blank and the Status remains 'In Progress'. 
    I haven't tried to 'Terminate' the workflow yet as we would like to retain the workflow history.
    Anyone else encounter anything like this before?  Suggestions?

    Hi,
    Based on your description, my understanding is that the workflow task sticks in In Progress status.
    To solve this issue, I recommend to enable the workflow tracing log in SharePoint and check the ULS log for detailed error message.
    http://blogs.technet.com/b/victorbutuza/archive/2009/02/26/how-to-enable-workflow-tracing-debug.aspx
    Here is a similar issue for your reference:
    http://support.microsoft.com/kb/2843542
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Workflow task list is missing or damaged. SharePoint 2010

    SharePOint 2010 Enterprise
    Customer created workflows for the annual review of our QPC Emergency Plan.
    The document library  shows that there is a EP_Review workflow “In Progress” for each section.   However if you click into the “In Progress” link to see the actual progress of the workflow it shows no Visio diagram, it’s just a blank white
    space (not even an error message) and under the Tasks section it gives the message:
      "The workflow task list is missing or damaged.  Please contact your administrator for more information"
    I looked in the Task List and there are no tasks showing, which normally does show when we kick off a workflow. 
    I ran a report on the EP_Review workflow for Cancellations and Error messages and the system comes back with the following error message:  "Report contains no Data"
    Log says:
    3/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)) 
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Name=Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.67  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Logging Correlation Data     
     xmnv Medium Site=/sites/Compliance eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.70  w3wp.exe (SLSPW02:0x8DC0)                0x8418 Document Management Server     Document Management          
     52od Medium MetadataNavigationContext Page_InitComplete: No XsltListViewWebPart was found on this page[/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c]. 
    Hiding key filters and downgrading tree functionality to legacy ListViewWebPart(v3) level for this list. eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.75  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData). Execution Time=32.1239873194787 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.78  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Server              OpenXml                      
     0000 Medium OfficePackageLibrary::OpenPackage(app=3, path=C:\Users\TEMP\AppData\Local\Temp\tmpBAE2.tmp, fcm=3) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly High Leaving Monitored Scope (EnsureListItemsData#2). Execution Time=10.6167606926937 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Runtime                      
     tkau Unexpected Microsoft.Office.RecordsManagement.Reporting.ReportEmptyException: Report contains no data.    at Microsoft.Office.RecordsManagement.Reporting.ApplicationPages.CustomizeReport.OKBtn_Click(Object sender, EventArgs
    e)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
    sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:08.80  w3wp.exe (SLSPW02:0x8DC0)                0x8418 SharePoint Foundation          Monitoring                   
     b4ly Medium Leaving Monitored Scope (Request (POST:http://strspdept:80/sites/Compliance/EmergencyPlan/_layouts/CustomizeReport.aspx?ReportId=05c9fc6e-b5bd-44c6-9b22-48d33f3b719a&AssociationId=1585f93e-968f-4008-9d41-28e4d03b03b9&Category=Workflow&List=4cb06049%2Dbe01%2D4e76%2D9e78%2D3faa95c4f06c)).
    Execution Time=131.764628890724 eaeae4dc-25b7-479e-bc20-dd98b6fcd778
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Topology                     
     e5mb Medium WcfReceiveRequest: LocalAddress: 'http://slspa02.corp.questar.com:32843/5d041280466646db9f816a170ae8f6b8/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges'
    MessageId: 'urn:uuid:8f54c63f-a3d4-4180-b9be-2eefe9ff3495' 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)                0x1F68 SharePoint Foundation          Monitoring                   
     nasq Medium Entering monitored scope (ExecuteWcfServerOperation) 01f77dd7-96fb-4f20-b72a-cd736a3354bf
    03/05/2014 11:58:09.05  w3wp.exe (SLSPA02:0x1CD4)
    Any Ideas how I can figure out how to resolve this?
    Thanks for any input

    Hi mikeatquestar,
    it seems you may need to check if should the task able to create at your environement,
    you may try this at your development environment first:
    Saved a task list as a template from a working site collection and moved the template to the problem site collection. Used this template to create a new list, and associated this list to the Workflows task list.
    http://office.microsoft.com/en-us/windows-sharepoint-services-help/manage-list-templates-HA010099156.aspx#BMcreate
    http://office.microsoft.com/en-us/sharepoint-server-help/copy-or-move-a-list-by-using-a-list-template-HA101782479.aspx
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Background task stays with status "in process" without creating any error

    Hi all,
    we created a two step approval workflow for parked documents based on the SAP WF templates WF WS10000051 (WF frame) and WS10000053 (two step approval sub WF). The problem now is, that after the two approvals have been given and the release flag is set the system should post the document. This is done in a background task. This task is started automatically but the status stays at "in process" and the document remains "parked" and not posted.
    What we did so far to solve the problem:
    1.) Check if shortdump has been created via ST22 --> not the case
    2.) Refreshed buffer via SWU_OBUF
    3.) Reacticvated/executed task with workitem id from log in SWIA
    --> nothing solved the problem so far. Please help!
    Thanks in advance. Johannes

    Hello Johannes !
                  You have asked "What do you mean with populate the value?"
                            Populating means conceiving the variable or container with valid value.In your scenario , with reference to your URL http://img851.imageshack.us/i/wflog2.jpg/ , POSTED_FLAG should be populated with value X.It should not be "Not Set".
                            With reference to your URL http://img717.imageshack.us/i/wfprotocol.jpg/, Set Release Flag step does not sets release flag.
                            It's evident from the URL http://img263.imageshack.us/i/flagreleasesetsw01.jpg/
                The solution for your problem is straight forward : Pass all the export or result parameters of RELEASE step to SET RELEASE FLAG step. Similarly , pass all the export or result parameters of SET RELEASE FLAG step to POST PARKED DOCUMENT STEP.
    Answer for question 1 : After  successful workflow transportation, it's version changes.Never mind the versions unless either of the versions are inactive or the version you require is inactive.
    Answer for question 2 : The user WF-BATCH should have SAP_ALL and SAP_NEW profiles.
    Regards,
    S.Suresh

  • Workflow task in "In Process"

    Hi all,
    I have a workflow task that stayed in the "In Process" state.  The task's method calls a function.  I don't know if the function had an error or what actually happened.  The function makes a call to a third party software(PRISM).  I have the task set to synchronous to wait for a return code. Does anyone know of a way to trouble shoot this.

    Yes, if you can reproduce it by calling the same method with the same inputs from transaction SWO1 (testing the BOR object type - or SE24 if it is a class). Then the debugging should reveal most of the information you need.
    I assume you are making an RFC call. In your function call you should, if it has not been done already, set up the special exceptions for RFC calls which will enable you to receive a returned error message in case of e.g. communications failure.

  • Process object missing in workflow task

    Hi all,
    I have this odd problem that occurs (seemingly) at random.
    I have a workflow for Material Master creation, it has various forks in the flow, sometimes the process object i.e. the material master object is missing in the workflow task under the available objects tab. It only seems to happen in one of the branches of the fork, also it only seems to be one user who gets this problem, so it makes me think it's something he's doing.
    How is it possible that an object which was previously available in the task is no longer available?
    any help greatly appreciated.
    Neil

    Hi,
    thanks for the reply, by "missing" I mean it is no longer instantiated in the workflow task. I have determined this by looking in the workflow log and checking the task container.
    The binding for the task is correct, I am using the same task in all branches of the fork and in the other branches the material object is instantiated.
    I have learnt a bit more about the scenario in the last few minutes... it seems that when the task was created initially the object was instantiated, but the user has backed out of the transaction and not completed the work item leaving it in his inbox with a status of "executed" it is only then that the process object is missing. This doesn't seem to happen to any other user so it's something he is doing that is causing the problem.

  • Workflow task "In Process".

    Hi Experts,
    i have created a workflow for some accounts transfer procedure. there is a background task for transferring of accounts. When i am testing the workflow sometime this task executes in 10 mins(as it is background task and background tasks have low priority) and sometime its stucks in the "in process" status and does not executes.
    What should i do in this case ?
    Regards
    Raman.

    Hi Raman,
    You can execute the method seperately to know where it is taking more time.
    TO do this,
    1) Go to transaction SWO1
    2) Enter the name of the BO and press on display button.
    3) Click on Execute/Test button (F8)
    4) Click on instance button and provide the input there.
    5) Select the method which you are using and execute it
    6) Select debugging mode and see where it is taking more time.
    Regards,
    Deepa Kulkarni

  • Workflow in process status when work is completed and returned to inbox

    Issue...
    Once upgraded to ECC 5.0, our Workflows are still in process status after completing the work item and returning to inbox. Takes several seconds to go to completed status.
    More detail...
    In a number of our work items in custom workflows we utilize methods that display a custom transaction for review & approval in the workflow process. From within the custom transaction we issue the terminating event for the work item by means of Function Module "SAP_WAPI_CREATE_EVENT" once the user approves or disapproves the work item.
    This worked all very well in Rel. 4.6c. By the time the users were routed back to their inbox the work item had disappeared.
    We recently upgraded to ECC 5.0 and experience the following problem. Once the user has left the work item and are back in their inbox, the work item is still on display. It eventually goes away once the users refresh their screen after a few seconds. This is very confusing to the users and some of them even wanting to start executing the same item again....
    I was wondering if anybody has any ideas on how the completion/termination of the work item could be changed so that it completes faster and is gone from the inbox immediately.
    In our research we did come across OSS note 831443, which explains as of release 6.20 that work items will be locked while executing a method and that the terminating event can only be delivered once it is unlocked. Taking this into consideration, we tried moving the terminating event to the end of the method within the business object program, but the work item never completed, even after refreshing the inbox.
    Thank you for any feedback.

    Hello Tom,
    I've had quite a similar problem with the terminating event in a dialog while the workitem is locked.
    I came across the same SAPNote 831443, but it doesn't seem to tell the whole story there. As I found out, the status change (from "in work" to "complete") is just skipped over, while the workflow continues with processing, leaving a last workitem "in work" hanging out to dry when the whole process has already finished.
    Basically the problem is, or was, that a popup dialog was shown to the user after the processed the transaction, which held the lock open. I have found no logs, saying that there was a problem with a locked workitem, anyhow.
    At last I have found out, that basically there shouldn't be much coding between the <b>COMMIT WORK</b> statement and the coding that just ends the method with <b>END METHOD</b>. This kind of procedure does definitly apply to the newer Versions, as I didn't have any problems like this before. Mayhaps and only a guess is, that the unlock-operation was previously registered with a perform like PERFORM unlock_workitem ON COMMIT. or something similar. This defenitly has changed under the new releases.
    In your specific case I would recommend to register the event processing in the update task and end the workitem's method as soon, as possible. For example:
    CALL FUNCTION 'SWE_EVENT_CREATE' IN UPDATE TASK   ...
    If this still does not help, you could further disjoin the transaction processing from the event creation by adding
    STARTING NEW TASK
    IN BACKGROUND MODE
    or whatever the correct syntax was here. This will schedule another tRFC on the database commit, which then is defenitly be picked up by another work process of the application server, just right -- hopefully -- after the object's method has completed.
    If you're feeling good with this answers, or it least it gave you new ideas to look upon, please assign points as appropriate.
    Best wishes,
    Florin

  • Date transfer between 11g BPMN Process and Human Workflow task

    I'm creating a small BPMN process in SOA Suite 11g. Pretty simple: Holiday Request where one enters name, start date, end date and leave type (e.g. annual). The odd thing is, any dates I enter into the process end up losing one day when viewed in the BPM Worklist.
    So, to be clear:
    * The BPMN process receives a message like this (note the +10:00 -- I'm running this in Australia):
    <RequestData>
    <name>JohnJames</name>
    <startDate>2010-06-21+10:00</startDate>
    <endDate>2010-06-21+10:00</endDate>
    <leaveType>annual</leaveType>
    </RequestData>
    * It does some minor processing, then passes this onto a Human Workflow task (exactly the same):
    <RequestData>
    <name>JohnJames</name>
    <startDate>2010-06-21+10:00</startDate>
    <endDate>2010-06-21+10:00</endDate>
    <leaveType>annual</leaveType>
    </RequestData>
    * When I open the task in the BPM Worklist app I see this:
    name : JohnJames
    startDate : 20/06/2010
    endDate : 20/06/2010
    leaveType : annual
    So, why? My processing code doesn't alter the dates in any way at all before passing them to Human Workflow. I figure this has something to do with locales used by HW but I can't figure out where or what to change. Any clues? Comments? Ideas?

    OK, I have a solution that works for me: YMMV. There's two parts to it:
    1) To have the dates interpreted correctly, I changed the fields on the generated forms for the Human Tasks. The Start Date and End Date fields were created as Input Text fields with the "Converter" property set to <default>. I changed the fields to Input Date fields instead, and the dates were interpreted correctly (i.e. May 21 showed up as May 21 rather than May 20) But they still showed up in US date format: 5/21/2010.
    2) To have them formatted for my locale, I added a "formatting-locale" entry to the "trinidad-config.xml" file: <formatting-locale>en-AU</formatting-locale>. The dates then showed up as 21/5/2010.
    This solution doesn't give you dates automatically formatted for your own locale, or different locales based on browser, but it does give me what I want for now. Thought some folks might be interested.

  • PO Std Workflow stuck "In Process" status

    Dear Experts,
    I have a case where a PO workflow is stuck "In Process" for over 8hrs. The background step - that has the underlining method to set status of PO to released is stuck and has not completed. (WS14000145)
    I am not sure of what could have been the problem - possible locking or anything else?
    Could you please suggest me a way out?
    Do I have kill the workflow (logically delete) and restart it again or have any other way around?
    Many thanks!
    Vj

    Well, it appears to be a locking issue.
    I found entries in SM58 and SM12. However I released them but the workflow still continued to be in Hanged - IN Process status.
    I then cancelled the workflow and then manually set released the PO documents.
    Then the PO documents were fine and were possible to edit.
    Thank you.

  • Task stays in process

    Hi all,
    I have a wf task(submit program) that does not leave the in process state.  It is a background task which sends an extenal email with attachments.  It was working fine and there was a client refresh.  Am I missing a basis setting perhaps?
    Thanks in advance,
    Scott

    Bhooma,
    Thanks for the response.  You are correct, the settings in SWu3 were initialized however I have already had them set back.
    Here's some more info...
    I was running it as a back ground task, I changed it to a run from my inbox.  The task runs the program first then goes to my in box.  When I run it from the inbox it executes the program but the task stays in my inbox no matter how many times I execute it.  Also after the email is sent I get a dialog box that comes up "SAP Connect Send Process: List of Sent Objects.  This did not show up before.  It comes up even if I run the program from se38.
    Thanks,
    Scott

  • Workflow Task Release Status

    Hi All.
    A quick questions. What's the purpose of workflow task release status?
    What's the impact if keep in "Not Release"
    Cheers

    Okay,
    I admit, a bit short on the explanations.
    But (I'm not on an active SAP environment right now, so everything I say, could be wrong, sorry if that seems the case, if not, then I should worry about trying to have a life outside of SAP   )
    When you press F1 on the the release status it is said, that these things have only administrative purposes and do not change the normal behaviour of the system.
    Kind regards, Rob Dielemans

Maybe you are looking for

  • Pricing date change on service order when creating confirmation.

    Hi gurus, I want  to change the pricing date (and recalculate prices)on service order to the date confirmation is created from the service order.I would like to know if this can be achieved by copy control BADI or order save BADI or pricing BADI ? Pl

  • How to make rows read only conditionally

    Hi All, I have a query region and when i select it shows the data in a table region, now based on a particular column i want to set the entire row read only. Please let me know if it is possible. Thanks Tom.

  • I opened my iphone 5c and got a few problems

    i opened it and when i did i pulled to hard and the cables attached to the screen plugged into the rest of the phone ripped and now the screen doesnt show anything and touch doesnt work. though i found out how to fix this and am getting a new screen

  • How to unlock the password

    Hi Friends, My R/3 system is locked how to reset the password again. Please give me solution Reset the password. it's very urgent plz give reply's ASAP. Thanks & Regards, Guna.

  • FiOS is narrowing the amount of servers for Google-related services.

    It's absoutely disgusting. You cheap losers have been giving your "prestigious" customers with constant buffering to Youtube and low download speeds to anything that is Google-related. This includes but is not limited to: Google Play, Google Drive, Y