In a Sharepoint 2007 Document List, I have a need where I have a column that is an expiry date, then another column that is an indicator if the expiry date has passed.
I have spoken to the end user and simply having additional views to show just documents that have expired is not good enough - they want the column to show the word "Expired".
I can achieve this by having a workflow on the item created event that simply waits for the date to be less than today. This will run the workflow and the work flow will remain in the "In progress" state until the item expires (which could be 5 years)
I can also do this via powershell and run a scheduled task every night to iterate all the items in the list and manually set the column text if the criteria is met.
My question is which is best as this document list will have over 100,000 documents. Is there any impact on having workflows run for 5 years.. and lots of them at that?
=concatenate("<javascript>if ( date() >", ExpiryDate, ") { "expired" }</javascript>, or to insert an image link which loads off a simple web service<img src='http://server/isExpired.aspx?date=' + ExpiryDate />and the service serves up an expired/valid image as appropriate. ? - TessellatingHeckler