1

I am working on SharePoint 2013 site collection. and i want to be sending emails & update list items if the item has a status of "New" & its review date = Today.

To achive this i did the following steps:-

  1. I created a reusable workflow and i assign the workflow with a content type, as follow:-

enter image description here

now the workflow will check the item status & review date and then will send an email and update the item status accordingly.

  1. then i went to "Site Collection Setting >> Content type", and i set the following retention policy for the content type:-

enter image description here

Now I am not sure if this mean that the workflow I define in step number 1, will run for each item inside the associated list ? or i need to have a loop inside the workflow to check all the related items ?

1 Answer 1

1

The workflow will run for each item that meets the retention policy. When the timer jobs process the information and finds an item that is to expire, it will do what ever is specified as per the policy. If is to move it to the recycle bin, it moves all matching items to the recycle bin. If it is run a workflow, it runs a workflow on each item.

This process is handled by 2 timer jobs on the server, their default setting is to run weekly. They are information management policy and expiration policy.

Information management policies are a great way to manage content.

9
  • thanks for the reply,,, but i am not sure what do you mean by ". When the timer jobs process the information and finds an item that is to expire" now in my case i do not have any expiration for the item,, i just want to call a wok flow which will send an email to the associated person if the item "Review Date" is equal today & its status = "New"??
    – John John
    Commented Feb 2, 2016 at 17:44
  • 1
    The policy process execution is handled by 2 timer jobs on the server, updated with more info Commented Feb 2, 2016 at 17:49
  • 1
    we have not seen any performance impact in our farm by scheduling these to run daily on our desired web application. Commented Feb 2, 2016 at 17:56
  • 1
    Expiration has to come second, information management policy marks them for expiration, and expiration policy cleans them up. If set wrong, then things get processed a day after intended. Commented Feb 2, 2016 at 18:13
  • 1
    In theory, i haven't used the recurance in practice, so you'll just have to test it over the course of a couple days. Commented Feb 2, 2016 at 21:05

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.