Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old February 1st, 2010, 10:56 PM
l00 l00 is offline
Registered User
Join Date: Feb 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Completing SharePoint Task to make SPD Workflow continue


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/For...6-e9000ce2ef24

We are looking to only use sharepoint designer workflows if possible. The environment is MOSS 2007 enterprise SP2.

Does anyone know how to code Task Completion? (like when you click on the complete task button with out of the box sharepoint)

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help tracking the approver in a sharepoint task list newtosp SharePoint Development 0 October 14th, 2009 09:14 AM
Recording SharePoint Workflow Event In Permanent Audit GAUTAM SharePoint Development 0 March 29th, 2009 12:38 PM
Locking of SharePoint Workflow Tasks/Making Tasks Read-Only GAUTAM SharePoint Development 0 March 28th, 2009 02:59 PM
Forms in SPD sunjays BOOK: Professional Microsoft Office SharePoint Designer 2007 ISBN: 978-0-470-28761-3 5 March 4th, 2009 09:34 PM
i want to make a task manager in VB6 menakcman Beginning VB 6 4 April 7th, 2005 08:58 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.