Home » SharepointRSS

Mark Task as Completed using SharePoint Designer Workflow

Hi all,
i have recently developed workflow that marks tasks in task list as completed so that another workflow that is waiting for this task to complete ca resume.  to do that i change the status to completed and the percent complete to 1.
the problem is that to workflow that is waiting to the task task to be completed does not resume.
is there any resolution for that?

thanks
   

 

7 Answers Found

 

Answer 1

on the second workflow  what validation do you do on the task? i mean what do you look for so it can resume?
 

Answer 2

no validation, i use collect data from user, so when the task  is marked as complete  the workflow  should resume

 

Answer 3

have you tried making the workflow  start upon item modifed, and check the status  of the task?
 

Answer 4

no, however i think if i could set the task  outcome to completed, the second workflow  will resum.

 

Answer 5

you can try that also. but try to duplicate the other workflow  and make it trigger on item change. add a validation condition to check if the status  is completed  and then do the actions you need.
 

Answer 6

I've been looking all over for an answer to your question. The responses all seem to stem around using other workflows. Well what if you have 10 tasks, or 20 tasks? The solutions presented here all tend to produce random Failed to Start (retrying) errors or fail updating the document library's item when dealing with more than one task. If you could complete  a task  in a task list, as in REALLY complete the task (the outcome in the task list  will read Complete) then all of this nonsense will be removed. I could take a business process that - using these recommendations - requires 10 or 20 separate workflows and fails more often than not and replace it with a single workflow  with a single step!

The question is:

Can a workflow designed using SharePoint Designer 2007 against a task list, complete a task???

Yes or No...

If yes, how?

 

Answer 7

I am looking for the same answer. I have workflow  that creates a series of tasks  for an item in a custom list.

The first task  is used solely for the "Claim Task" function. I do this because the task is initially assigned to a group. Once the task is claimed AND completed  by a person, the workflow adds the person who claimed the task to a person field on the original item.

The problem  is that I have received several complaints about the need to go back into that first task and mark  it complete  after it has already been claimed. Otherwise, the workflow will not continue to the next task.

I thought I would have an easy solution for this since the task's status  is automatically changed to "In Progress" by sharepoint  when the task is claimed. I set up a workflow on the Tasks folder to execute on new instances of this "claim" task. The workflow waits for the Status field to change  to "In Progress", then changes Status to "Completed" and % Complete to 1.

The problem is that this Outcome field - which I see no way to access through SharePoint Designer's Workflow Designer - never changes to Completed. So the workflow on the original item never recognizes that the task has been completed.

Is there a way modify Outcome? Or is there a better way to do what I'm trying to do?

 
 
 

<< Previous      Next >>


Microsoft   |   Windows   |   Visual Studio   |   Tech Videos   |   Follow us on Twitter