Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
Sure you can, using either a workflow or a simpler event receiver –  Steve B Jun 12 '12 at 9:23
add comment

1 Answer 1

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: 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).

share|improve this answer
    
(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. –  Derek Gusoff Jun 12 '12 at 13:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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