Completing SharePoint Task from Infopath button to make SPD Workflow continue - InfoPath Dev
in

InfoPath Dev

Completing SharePoint Task from Infopath button to make SPD Workflow continue

Last post 02-01-2010 06:47 PM by louis. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 02-01-2010 06:47 PM

    • louis
    • Not Ranked
    • Joined on 02-01-2010
    • Posts 2

    Completing SharePoint Task from Infopath button to make SPD Workflow continue

    Hi,

    We are currently trying to make an infopath button complete a task associated to the form submission workflow, so when a user clicks a button, it updates the task to complete, making the SharePoint Designer workflow continue.

    We have seen many posts in relation to this to be able to mark a task as completed using AlterTask and UpdateItem, but no method seems to actually mark the task as completed to make the workflow continue. These solutions just seem to update the task information. e.g. These update the task details but did not make the task completed to continue workflow;
                  
                    data[SPBuiltInFieldId.TaskStatus] = "Completed";
                    data[SPBuiltInFieldId.Completed] = true;
                    data[SPBuiltInFieldId.PercentComplete] = 1;
                    data[SPBuiltInFieldId.WorkflowOutcome] = "Completed";

    It looks like a few people are having this issue: http://social.msdn.microsoft.com/Forums/en/sharepointworkflow/thread/0b5021e7-ce0a-4aeb-9d66-e9000ce2ef24

    We are looking to only use sharepoint designer workflows if possible. The environment is MOSS 2007 enterprise SP2.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.