2

I have two lists one is "to do tasks" and other one "completed tasks" Can we create a workflow so that when the users change the status of the Task to “Completed” or "% Column" to 100% the task get automatically moved to the “completed tasks” List?

1
  • Sure you can, using either a workflow or a simpler event receiver
    – Steve B
    Commented Jun 12, 2012 at 9:23

1 Answer 1

4

You can create a reusable workflow in SharePoint Designer and then associate it with your "To Do Tasks" list. This workflow can be set to trigger automatically whenever a list item is updated (i.e. marked as completed).

See this post for details on creating a workflow which copies items between lists: https://web.archive.org/web/20150320192759/http://blogs.salmanghani.info/?p=479


Another much easier alternative would be to just use a single tasks list with a status column which either contains "incomplete" or "complete". This status can be updated with a single line of code in an event receiver. Obviously you would just need to then create 2x views on your list (one showing all incomplete tasks, and the other showing all competed tasks).

2
  • (upvoting the second half of this answer)I would push hard for a single list here as Nick says. If the only reason for having a second list is to show a different status on your task, the solution is unnecessarily complex. Use what SharePoint gives you(i.e., metadata) to your advantage whenever you can rather than writing(and supporting) your own solution. Commented Jun 12, 2012 at 13:14
  • Can this be done in Sharepoint 2013 workflow Commented Dec 2, 2014 at 20:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.