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

Similar Messages

  • Workflow Task not able to be completed due to "System Account" in Requested By field not resolving.

    I have a workflow firing on create and update in a list. The list is a calendar that is email enabled. The tasks are assigned with the requested by set to be the System Account, which shows underlined in red when trying to complete the workflow task. This
    is a sharepoint designer 2010 workflow using the assing approval task action. I was hoping to see a variable used when assigning the task to allow changing that from the system account to the created by on the original list, which I am able to assign for the
    approval workflow starting notification since that also was trying to go to the system account.
    Here is the task as it looks which will not allow completion even by site collection administrator.
    If the workflow starts with direct entry in the list, all works fine. This is related to the system account creating the initial item, but was hoping to override that during the task process.
    Anyone else run into this and have solution?

    Hi Alan,
    I can’t reproduce your issue, but you can change the requested by on the task form to “created by” column. Go to SharePoint
    designer, open the workflow, under forms section, click task type form workname.xsn to open it in InfoPath form, then you can change the requested by to created by.
    For more information, see
    http://blogs.msdn.com/b/edhild/archive/2011/06/01/creating-custom-workflow-task-approval-forms-with-sharepoint-designer-2010.aspx
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Workflow does not complete task in other languages

    Hi,
    I created an approval workflow on Sharepoint Designer 2013 set as Sharepoint Workflow 2013.
    It worked fine untill some of our approvers came to find out that using other languanges as primary option on Internet Explorer the workflow stops. It does not cancel it, but does not mark the task as completed automatically as it does for the computers set
    as English as primary language, therefore, the workflow stops until a manual completion of the task.
    On the microsoft site I checked that Workflow Manager has the same files in any language. 
    I even found a Cumulative Update for Workflow Manager and it cames with a fix on languages. Question is: why there are no languages on the first installation?
    These are the download center links:
     Workflow Manager 1.0
     Cumulative Update for Workflow Manager 1.0

    I have figured out what's the cause of the problem.
    There has been no changes in the agent assignment, so, SWU_OBUF is not needed.
    The workflow hangs and states that there is no agent for the step in Ready status because the workflow was deactivated after the Release step.  I think this has been deactivated by the system because there were errors that occured (perhaps in the container bindings).
    The workflow template I used, together with the tasks, were copied from the standard template WS20000075.
    Are there any procedure to just easily check the bindings?
    Thanks.

  • Workflow Tasks NOT expiring!

    Hi guys,
    I've bumped lately with an issue building a workflow on SP2010, as you mostly already have figured out from the title, workflow tasks are NOT expiring.
    I've tried to take this on my own, but no more as I have to move on. Here's the details;
    -a custom workflow (attached to a custom list) that has start custom task as its first action.
    -due date for custom task is set in "select task process participants", Due Date for Task Process. and is set to run parallel (I have one participant for the task).
    -the custom task have only the "behavior of a single task" configured, all task workflow steps are there.
    When a Task is Pending fires well, and it ends with Pause for 2 minutes > then send email. then task due date reaches but
    When a Task Expires never kicks! tasks simply stays at status "Not Started"
    when I check the workflow history, it shows the last log "pausing completed", but I suspect the main issue is with the task processor, task isn't expiring and im not sure where to look.
    timer job service is working, I've checked timer jobs (workflow auto cleanup, workflow failover and bulk workflow task processing) and they're all running in timely fashion now.
    any thoughts?
    thanks
    If a reply helps you Vote As Helpful, if a reply solves your problem don't forget to Mark As Answer. Aabed Yassine.

    hi Victoria,
    running the above code in a PS1 file throws:
    The term 'http://portal.xx' is not recognized as the name of a cmdlet,
    function, script file, or operable program. Check the spelling of the name, or
    if a path was included, verify that the path is correct and try again.
    At C:\Users\spadmin\Desktop\Get-TimeZone.ps1:2 char:70
    + $site=new-object Microsoft.SharePoint.SPSite(portal.xx<<<< );
        + CategoryInfo          : ObjectNotFound: (portal.xx:String
       ) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    Get-SPServiceContext : Cannot bind argument to parameter 'Site' because it is n
    ull.
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:3 char:39
    + $serviceContext = Get-SPServiceContext <<<<  $site;
        + CategoryInfo          : InvalidData: (:) [Get-SPServiceContext], Paramet
       erBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,M
       icrosoft.SharePoint.PowerShell.SPCmdletGetServiceContext
    You cannot call a method on a null-valued expression.
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:4 char:14
    + $site.Dispose <<<< ();
        + CategoryInfo          : InvalidOperation: (Dispose:String) [], RuntimeEx
       ception
        + FullyQualifiedErrorId : InvokeMethodOnNull
    New-Object : Exception calling ".ctor" with "0" argument(s): "Value cannot be n
    ull.
    Parameter name: serviceContext"
    At C:\Users\admin\Desktop\Get-TimeZone.ps1:5 char:18
    + $upm = new-object <<<<  Microsoft.Office.Server.UserProfiles.UserProfileManag
    er($serviceContext);
        + CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvoca
       tionException
        + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.Power
       Shell.Commands.NewObjectCommand
    i'm not sure what are the variables in this code, I've change the site collection URL and domain\user. anything else I should edit?
    If a reply helps you Vote As Helpful, if a reply solves your problem Mark As Answer. Its made to make it helpful for others seeking help.

  • Appraisal Workflow - Item not completed

    Hi,
    After performing Approved or Reject in MSS for Appraisal Workflow, the task are not completed or removed from the UWL of the user. If we do the same from R/3 the workitem gets completed. I checked the workflow task and it always ask for 'Confirm End of Process'.
    Any idea to how to do that?
    Thanks,
    SP

    Hi SP,
    Please also see BWF note: 902541.  Also, please be aware that the workitems will not leave automatically as there is no real time refresh in the Universal Worklist.  The quickest time that it will take will be 60 seconds.  If you manually refresh do the workitems leave the inbox?  Please check your parameters as mentioned in this wiki page:
    http://wiki.sdn.sap.com/wiki/display/BPX/UniversalWorklistParameterConfigurationforOptimalPerformance
    Beth Maben
    EP - Senior Support Consultant II
    AGS Primary Support
    Global Support Centre Ireland
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Workflow is not completed please advice

    Hi Gurus,
    We have created WF for sales order. when the sales order quantity is above a perticular quantity that sales order line item is blocked for dlivery and WF is triggered. MRP controller gets the mail to take a decision on this. he has to decide whether this quantity is to be taken from stock or convert the sales order to MTO.
    We had one issue in production due to which the WF is not completed. The MRP controller has taken the decision but it is not reflected in sales order.
    CAN WE AGAIN TRIGGER THIS WF OR CAN WE COMPLETE THE BROKEN WF?
    Please advice
    Thanks
    S J

    Hi ,
    Please hceck the below points
    1.  check the workflow log where it has been struck up some where and try to find the  various ways to solve that problem
    But please discuss with the corresponding person before doing any action in production
    2. If the last workitem is dialog workitem and struck from long time then complete that step manually by using SWIA tcode  (after the client approval)
    3. If the last workitem is inprocess(Background workitem)  then  select the worktiem and 
    GOTO -> Technical workitem dispaly
    EDIT-> CHANGE 
    check the options which is suitable for u
    (Execute , complete manually , etc )
    4. If the workflow is in error status then try to restart the workflow after error
    Edited by: vijayareddy on Oct 13, 2010 1:48 PM

  • How to get site workflow tasks not list workflow tasks in SharePoint 2013 programatically ?

    i want to customize wrkstat.aspx based on site workflow not list workflow, so i want to filter section of tasks view to filtering based on site workflow, i made this to list workflow and i cannot do that to site workflow.
    Please advise me.
    Thanks.

    Hi Ramakrishnan,
    you can use the below code to post comments in newsfeed. I think this will helps you.
    var feedManagerEndpoint;  
    // Get the SPAppWebUrl parameter from the query string and build  
    // the feed manager endpoint.  
    $(document).ready(function () {  
        var appweburl;  
        var params = document.URL.split("?")[1].split("&");  
        for (var i = 0; i < params.length; i = i + 1) {  
            var param = params[i].split("=");  
            if (param[0] === "SPAppWebUrl") appweburl = param[1];  
        feedManagerEndpoint = decodeURIComponent(appweburl)+ "/_api/social.feed";  
        postToMyFeed();  
    // Publish a post to the current user's feed by using the   
    // "<app web URL>/_api/social.feed/my/Feed/Post" endpoint.  
    function postToMyFeed() {  
        $.ajax( {  
            url: feedManagerEndpoint + "/my/Feed/Post",  
            type: "POST",  
            data: JSON.stringify( {   
                'restCreationData':{  
                    '__metadata':{   
                        'type':'SP.Social.SocialRestPostCreationData'  
                    'ID':null,   
                    'creationData':{   
                        '__metadata':{   
                            'type':'SP.Social.SocialPostCreationData'  
                    'ContentText':'This post was published using REST.',  
                    'UpdateStatusText':false  
            headers: {   
                "accept": "application/json;odata=verbose",  
                "content-type":"application/json;odata=verbose",  
                "X-RequestDigest": $("#__REQUESTDIGEST").val()  
            success: getMyFeed,  
            error: function (xhr, ajaxOptions, thrownError) {   
                alert("POST error:\n" + xhr.status + "\n" + thrownError);  

  • Three state workflow not complete

    Hello,
    I'got some trouble with the OOB Three state workflow
    It's creating the first task, I change the status to completed and save, it create the second task , I do the same stuff but the workflow doesn't completed.. 
    When I look to the task list I can see that the first task has the % complete to 100% but not the second, if I try to edit the second task to add this 100 I've got the error "This task is currently locked by a running workflow and cannot be edited. "
    If I try to set this 100% when I accept the second task , it doesn't complete the workflow...
    What Am I doing wrong?
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.

    The workflow shouldn't be completing if you just duplicate the exact same set of activities for the second task assignment
    as you used for the first. Just make sure you use different task tokens, but use the exact approach for task 2 as task 1. The workflow will not complete until both tasks are done.
    The approval workflow then assigns a task to each participant in the workflow, who must perform an action on the task. When all the tasks
    are complete, the overall task process is complete.Each of these task events must be complete instead of set the percent  before
    the task process can be complete 
    please check the process as follows
    http://office.microsoft.com/en-us/sharepoint-designer-help/use-the-task-process-editor-for-approval-workflows-HA101863538.aspx
    http://office.microsoft.com/en-us/sharepoint-server-help/use-a-three-state-workflow-HA101793530.aspx

  • Workflow Created Tasks not showing up in My Tasks

    I'm relatively new to SharePoint and am having trouble with the My Tasks list in SharePoint 2013.  Tasks created manually in any task list show up in My Tasks as expected.  However, tasks that are created by a workflow using create item in list
    for that same list do not appear in My Tasks.
    This is true for both tasks assigned to a group and tasks assigned to a specific user.
    It has proven frustrating to attempt to google this issue.  
    Any suggestions?

    Hi briandoyle,
    Did this happen to all users that the tasks created by workflow aren't displayed in users' My Tasks in MySite?
    Have you run a full crawl from Search service application, and also check if creating a new task view with filter option include group, and the following posts should be useful you can check.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/4959c10b-c1f3-4051-acf6-acf5135ac0cd/workflow-tasks-not-visible-in-my-tasks-list?forum=sharepointgeneral
    http://blogs.perficient.com/microsoft/2012/09/sharepoint-2013-task-management-in-my-sites/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Tasks get completed but workflow Status shows 'Error Occured' and not 'COmpleted' in Sequential Workflow Visual Studio 2010

    I have a custom approval sequential
    private void completeSPTask_MethodInvoking(object sender, EventArgs e)
    SPListItem task = workflowProperties.Web.Lists["Workflow Tasks"].GetItemById(WfApproveTaskItemId);
    task[SPBuiltInFieldId.WorkflowVersion] = 1;
    task["Status"] = "Completed";
    task.SystemUpdate(false);
    if (task["Status"].ToString() == "Completed")
    Hashtable HTdata = new Hashtable();
    // HTdata["Status"] = "Completed";
    // HTdata[SPBuiltInFieldId.Completed] = "TRUE";
    HTdata[SPBuiltInFieldId.PercentComplete] = 1;
    HTdata["FormData"] = SPWorkflowStatus.Completed;
    // HTdata[SPBuiltInFieldId.TaskStatus] = SPResource.GetString(new CultureInfo((int)task.Web.Language, false),"WorkflowTaskStatusComplete", new object[0]);
    SPWorkflowTask.AlterTask((task as SPListItem), HTdata, true);
    task.Web.Update();
    workflow which works properly, the task status gets completed
    When the tasks are 'In Progress' the workflow status also remains "In Progress" but when the task is completed , it shows error Occurred. The following is my code in CompleteTask method.

    I got it working by removing the complete task method and by updating the task in the ontaskchanged event , In that case both the task as well as the workflow gets updated

  • Workflow not completed, is this best practice for PR?

    Hi SAP Workflow experts,
    I am new in workflow and now responsible to support existing PR release workflow.
    The workflow is quite simple and straightforward but the issue here is the workflow seems like will never be completed.
    If the user released the PR, the next activity is Requisition released that using task TS20000162.
    This will send work item to user (pr creator) sap inbox which when they double click it will complete the workflow.
    The thing here is, in our organization, user does not access SAP inbox hence there are thousands of work item that has not been completed. (our procurement system started since 2009).
    Our PR creator will receive notification of the PR approval to theirs outlook mail handled by a program that is scheduled every 5 minutes.
    Since the documentation is not clear enough, i can't digest why the implementer used this approach.
    May I know whether this is the best practice for PR workflow or not?
    Now my idea is to modify the send email program to complete the workitem after the email being sent to user outlook mail.
    Not sure whether it is common or not though in workflow world.
    Any help is deeply appreciated.
    Thank you.

    Hello,
    "This will send work item to user (pr creator) sap inbox which when they double click it will complete the workflow."
    It sounds liek they are sending a workitem where an email would be enough. By completing the workitem they are simply acknowledging that they have received notification of the completion of the PR.
    "Our PR creator will receive notification of the PR approval to theirs outlook mail handled by a program that is scheduled every 5 minutes."
    I hope (and assume) that they only receive the email once.
    I would change the workflow to send an email (SendMail step) to the initiator instead of the workitem. That is normally what happens. Either that or there is no email at all - some businesses only send an email if something goes wrong. Of course, the business has to agree to this change.
    Having that final workitem adds nothing to the process. Replace it with an email.
    regards
    Rick Bakker
    hanabi technology

  • Workflow triggered via SWUE does not complete

    Hello,
    On an ECC6 system, I have a workflow linked to the BUS2009.RELEASESTEPCREATED event. As long as the event is triggered upon upon purchase requisitions creation, the linked workflow starts and finishes fine. However, in case I trigger the event  "manually" using SWUE, one of the work items(approver release decision task) created by the started workflow does not change status to COMPLETE after it is executed and successfully processed with a valid outcome. The work item remains in the in-process or ready status.
    I have also checked the instance linkages and found a proper entry for the instance ID.
    Due to this I am not able to trigger the workflows missed during recent event linkage outage.
    Any idea what can cause this behaviour, please ?
    Thanks.
    Kind regards,
    Ondrej Foukal

    Hello,
    You say:
    "one of the work items(approver release decision task) created by the started workflow does not change status to COMPLETE after it is executed and successfully processed with a valid outcome"
    If it's successfully processed and has a valid outcome then maybe you're having a problem with the next step - perhaps agent assignment? Check the workflow log for any errors, and look at the graphical log.
    regards
    Rick Bakker
    Hanabi Technology

  • DAC - Custom Workflow Task - Parameter file does not exist

    Hi expert,
    I have some issues running custom task in DAC with Siebel OLTP to DW. Please see log below. Anyone can help me in this regard?
    Note: Siebel Custom Table to Data Warehouse Custom table - Created new workflow in Informatica for custom table
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:DU_SDE_SBL_78_Adaptor:SDE_TCDimension:(Source : FULL Target : FULL)
    MESSAGE:::
    Irrecoverable Error
    Request to start workflow : 'SDE_TCDimension' has completed with error code 17
    Error Message : Parameter file does not exist.
    Connected to Integration Service: [Arcis_Dev_Integration_Service].
    ERROR: unable to open local paramfile [XX/obi/Informatica/PowerCenter8.6.1/server/infa_sh ared\SEBL_78.DataWarehouse.DU_SDE_SBL_78_Adaptor.SDE_TCDimension.txt].
    Disconnecting from Integration Service
    =====================================
              STD OUTPUT
              =====================================
              Informatica(r) PMCMD, version [8.6.1], build [183.1217], Windows 32-bit
              Copyright (c) Informatica Corporation 1994 - 2008
              All Rights Reserved.
              Invoked at Thu Sep 22 13:34:26 2011
              Connected to Integration Service: [AD_Service].
              ERROR: unable to open local paramfile [XX/obi/Informatica/PowerCenter8.6.1/server/infa_shared\SEBL_78.DataWarehouse.DU_SDE_SBL_78_Adaptor.SDE_TCDimension.txt].
              Disconnecting from Integration Service
    Edited by: Jing Jang on Sep 22, 2011 11:58 PM

    Hi thanks for replying.
    I Assembled the subject area, generated parameters and I built the execution plan, everything is success. For other task parameter file is generating.
    DAC log shows as you mentioned.
    pmcmd startworkflow -sv Arcis_Dev_Integration_Service -d ARCISDEV_crmobidev -u Administrator -p **** -f DU_SDE_SBL_78_Adaptor -lpf /XXX/obi/Informatica/PowerCenter8.6.1/server/infa_shared\SEBL_78.DataWarehouse.DU_SDE_SBL_78_Adaptor.SDE_TCDimension.txt SDE_TCDimension
    Error Message:
    ANOMALY INFO::: Error while executing : INFORMATICA TASK:DU_SDE_SBL_78_Adaptor:SDE_TCDimension:(Source : FULL Target : FULL)
              MESSAGE:::
              Irrecoverable Error
              Request to start workflow : 'SDE_TCDimension' has completed with error code 17
              Error Message : Parameter file does not exist.
              Command Used: pmcmd startworkflow -sv Arcis_Dev_Integration_Service -d ARCISDEV_crmobidev -u Administrator -p **** -f DU_SDE_SBL_78_Adaptor -lpf /XXX/obi/Informatica/PowerCenter8.6.1/server/infa_shared\SEBL_78.DataWarehouse.DU_SDE_SBL_78_Adaptor.SDE_TCDimension.txt SDE_TCDimension**
              Workflow Message:
    Since we gave the InformaticaParameterFileLocation as /XXX/obi/Informatica/PowerCenter8.6.1/server/infa_shared , it is showing exactly. But I don't know why the "\" slash is coming.
    DAC server is on AIX and I'm running DAC client from another windows machine, I have Informatica Client installed on my machine.
    Right now I'm checking with Unit Testing, do I need to run full execution to get that parameter file generated?
    Appreciate your help.

  • Outlook error when completing workflow task.

    Hi,
    Outlook error when completing workflow task.    I am receiving a "This task could not be completed at this time" error message in Outlook 2010 when completing a SP Approval workflow by using the "Open this Task" button
    in the ribbon.
    Please let me know the resolution for this issue.
    Thanks & Regards,
    Sasidhar K

    Hi Sasidhar,
    I'd first suggest installing any available updates on both Outlook and SharePoint sides for the issues related with Outlook integrated with SharePoint,
    Also, please take a look at this thread which disscused the same issue and see if it helps. <Steve_MTC> had a good summary of his findings:
    http://social.technet.microsoft.com/Forums/en-US/7a81aa4f-077b-4954-a110-7595169477e2/outlook-error-this-task-could-not-be-completed-at-this-time-when-completing-sp-approval-workflow?forum=sharepointgeneralprevious 
    You might also want to seek assistance in the forum of
    SharePoint, other partners who read the forums regularly can share their knowledge.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • SharePoint 2013 workflow can not be completed

    I use Visual studio 2013 to create an sharepoint 2013 workflow and just insert a single task into it. I fill the assignto property directly and the account does recieve the mail. Then I approve the created task but the workflow is still there and it can't
    be completed after that. I have spend several days just try to make the workflow completed but I can't. Any clues?

    Hi Kevin,
    As I know, there's two properties for task - one is Status with values 'In Progress', 'Completed' etc. Another property is 'Task outcome' with values 'approved' and 'rejected'. Task created by SignleTask, wait for task completion which means status field
    should have value 'Completed' and then workflow will consider the task as complete. In your case I'm not sure if you have set the task status as completed or not. If you set the task status to completed only then workflow will consider the task as completed.
    However, in your case you can set the property 'WaitForTaskCompletion' to false and just after SignleTask you can use other activity like - wait for item event or wait for field change, to find out if the task out field is 'approved' or 'rejected'. You can
    put the activity in a loop and in the loop you can wait till due date or until the task-outcome is approved/rejected.
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com

Maybe you are looking for

  • Messages and Facetime will not let me use my apple id

    I recently downloaded Mountain Lion, and I actually got it to be able to have the Messages app, but when i tried to sign in with my apple id, it tells me everytime that "The server encountered an error processing registration. Please try again later.

  • SLF4J instead of Java Util Logging?

    Hi BDBJE team, Is it included on the BDBJE roadmap a migration from "Java Util Logging" to a most flexible framework like SLF4J? BR, /César.

  • Cost elments views in "Costs" tap of transaction ck11n

    Hi experts, In transaction ck11n, SAP shows only the cost data related to the five first cost components views in the summary table of the tap "Costs", but I need also the others components standards view in that. Al least, I need the 06 view (valuat

  • Services don't register with static listener

    HI, no matter what configurations I do the static listener shows no services. Can you help me? Here is my listener.ora: SID_LIST_LISTENER =         (SID_LIST =                 (SID_DESC =                         (GLOBAL_DBNAME=ELLISON9)              

  • Photoshop is saying there's not enough RAM mmm, this shouldn't be happenin

    Ok, so i got a message coming up on photoshop after i tried to import an image and it said "Could not import the clipboard because there is not enough memory (RAM).", so went to shop got a GB of ram. Now its in my G5 imac (not the isite) and it shows