how to monitor a list item field or document library metadata for a duration of say 20 days whether it was modified or not. (tracking only one field not the entire list item modified date)

the purpose here is to notify the users with an email that they haven't acted on the case since last 20 days.


You can create a Custom Timer Job which will monitor the items. Just compare the current date and item modified field. For example

var lastModified = (DateTime.Now - (DateTime) item["Modified"]).Days;

If the duration is greater than or equal to 20 days, then take action. Steps of creating Custom Timer Job for on-premise, find here Create and Deploy Custom Timer Job Definition in SharePoint Programatically

For SharePoint Online, you can write a Console Application which will contain the same logic as Custom Timer Job but run this Console Application using windows scheduler.

  • This is not what i am looking for. I want to know when the specific list item field was modified not the modified field which is linked to change in any field. – kesava Jan 21 '16 at 23:30
  • It was not clear to me since your last edit. Sorry it's my bad! @kesava – Atish Dipongkor - MVP Jan 22 '16 at 4:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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