0

I'm trying to create an SP2010 workflow that does this: check document modified date, if modified date is more than 365 days old, send email, pause for 15 days, check document modified date, if modified date is more than 380 days old, send email, pause for 15 days, check document modified date, if modified date is more than 395 days old, send final email

I'm new to the workflow environment so I need good explanation on this one. Thanks

1
  • How are you going to run it for every item on the list?
    – XristosK
    Commented Sep 9, 2014 at 21:42

2 Answers 2

1

One thing not to have is a workflow that kicks off whenever a document is modified and then does nothing for 365 days. If for no other reason than SharePoint has a workflow clean-up that normally removes Workflow instances after 60 days.

I'm assuming you're using SharePoint Server rather than Foundation so what I suggest you look at is the Retention stuff in Information Management Policies. This is pretty limited and can't directly send emails but it can kick off a workflow when a certain conditions are met (e.g. Modified + 365 days). You can set up retention policies at site collection, content type and library level. However only content type/library level ones allow you to start workflows.

To set this up on a library (simplest example) first create a simple workflow in your library that sends the email, just create it as a manual workflow (i.e. one that's not started when a document is created or changed).

Setting up the retention policy:

  1. In the Library settings go to Information Management Policy Settings
  2. Select the content type (Document on a standard library)
  3. Click Enable Retention
  4. Click Add a retention stage...
  5. Set your time period for your first rule e.g. Modified + 365 days
  6. Select Start a Workflow Select your workflow

I suggest you don't use the recurrence option as I suspect that would just continue to spam your users even after they modified the doc though I've not tested that. Instead you can create further retention stages for Modified + 380 days etc. which shouldn't fire if the user has modified the document.

Forgot to mention that you need to enable the Library and Folder Based Retention site collection feature for this option to appear

2
  • Thanks for this info. I'm using and enterprise version. I do not have the "Information Management Policy Setting" listed. Is there another alternative to monitor documents for updates and send an email if they haven't been updated in a year that I can set without being an administrator?
    – monday
    Commented Sep 10, 2014 at 17:01
  • Forgot to mention that you need to enable the Library and Folder Based Retention site collection feature for this option to appear. Commented Sep 11, 2014 at 11:46
0

If I may, this answer is not exactly correct. When you set the Retention Policy for a SP library or content type, Modified is not one of the options. This is partly due to how the retention policy works in SharePoint and the intent of how it is used. You see, the retention policy NEVER goes back to look at the date that triggered the policy...NEVER. This means that if you are expecting the policy to re trigger when the date changes, you will be disappointed.

Rather, the intent here (at least it seems to be in Microsoft's mind) that the retention policy is needed to do what? To move a document, delete it...things that you won't be doing over and over.

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.