How to keep an item approved after a change?<p>G'day,<br/><br/>I'm having trouble with an approval workflow. There may be a better way to do this, and I'm after some advice. Here is my scenario;<br/><br/>The workflow is a Application for Leave request, where staff fill out information in a list regarding their leave. The workflow sends an email to the manager, who approves. After it is approved, the list then asks the Finance department to add further information (like date entered into Payroll, etc). One the finance person does this, the list item's Approval Status reverts to being Pending. Is there a way of keping the item approved always, after it has been initially approved?<br/><br/></p>© 2009 Microsoft Corporation. All rights reserved.Fri, 03 Jul 2009 07:17:52 Z80f7dc9b-e63e-4084-aa04-9b0d56f0216fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#80f7dc9b-e63e-4084-aa04-9b0d56f0216fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#80f7dc9b-e63e-4084-aa04-9b0d56f0216ftheluckychickenhttp://social.msdn.microsoft.com/Profile/en-US/?user=theluckychickenHow to keep an item approved after a change?<p>G'day,<br/><br/>I'm having trouble with an approval workflow. There may be a better way to do this, and I'm after some advice. Here is my scenario;<br/><br/>The workflow is a Application for Leave request, where staff fill out information in a list regarding their leave. The workflow sends an email to the manager, who approves. After it is approved, the list then asks the Finance department to add further information (like date entered into Payroll, etc). One the finance person does this, the list item's Approval Status reverts to being Pending. Is there a way of keping the item approved always, after it has been initially approved?<br/><br/></p>Fri, 03 Jul 2009 04:51:55 Z2009-07-03T07:04:03Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#f173f3f2-164c-4ff4-8715-6bbccebcae84http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#f173f3f2-164c-4ff4-8715-6bbccebcae84Serge Luca [MVP]http://social.msdn.microsoft.com/Profile/en-US/?user=Serge%20Luca%20%5bMVP%5dHow to keep an item approved after a change?Is this a VS workflow or a Sharepoint Designer workflow ? obviously the approval process is based on the Out of the Box (OOB) List Content Approval; <br/> 2 options : <br/> <ul> <li>you deactivate the OOB approval and the workflow use its own approval status (set an approval column to true or false) </li> <li>you keep it and by code you auto-approve   with the following code :</li> </ul> <br/> item.ModerationInformation.Status = SPModerationStatusType.Approved;<br/> <br/> (item is  SPListItem).<br/> <br/><hr class="sig">Serge Luca; blog: http://www.redwood.be Fri, 03 Jul 2009 07:03:16 Z2009-07-03T07:03:16Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#bdbac036-b99c-4f58-b924-35186d3bdbd5http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#bdbac036-b99c-4f58-b924-35186d3bdbd5theluckychickenhttp://social.msdn.microsoft.com/Profile/en-US/?user=theluckychickenHow to keep an item approved after a change?Thanks Serge,<br/><br/>It is a SP Designer Workflow.<br/><br/>Your first point is probably going to be my solution, however won't I lose the ability to but a reason if it is rejected?<br/><br/>Fri, 03 Jul 2009 07:14:45 Z2009-07-03T07:14:45Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#5c5fb3e6-4894-4927-83c6-be61a446aecbhttp://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/80f7dc9b-e63e-4084-aa04-9b0d56f0216f#5c5fb3e6-4894-4927-83c6-be61a446aecbSerge Luca [MVP]http://social.msdn.microsoft.com/Profile/en-US/?user=Serge%20Luca%20%5bMVP%5dHow to keep an item approved after a change?to keep it simple you can just add a new new column for a description/justification...<hr class="sig">Serge Luca; blog: http://www.redwood.be Fri, 03 Jul 2009 07:17:23 Z2009-07-03T07:17:23Z