We have a site which houses our Work Instructions. This site has about 10 subsites (one for each major area of operation). Each subsite has a Pages Library and a Document Library.
I'm trying to create a workflow that checks the pages library of each subsite for the page "review date". Once that review date is reached, I need to send an email to the Page Owner requesting that they review and update the page. Most often there are numerous pages with the same review date so I'd like to create a notification that looks like:
The following pages are due for review:
Ideally the workflow will be a site workflow so I only need to maintain the one workflow.
Any help would be appreciated! Thanks.
Solved! Go to Solution.
My first and easiest thought would be to create one workflow on one pages library that notifies the owner. Then copy and replicate that?
You could create a resuable workflow to accomplish that as well.
Thirdly, why not turn on publishing for your sites and use the build in review and approval process for pages?
Another option, if you don't want to do as Eric suggests, is to possibly use a Call Web Service control to return details on your page libraries. From there you could iterate through the detail to find those libraries that have reached the review date. Load the required data into various collections and process these to build up a text string with a new link on each line to populate into your notification.
I haven't done this based on a page library, but would think that something like that should work.
You could do a Query List in a site workflow. The pages that matches your criteria can go into a workflow collections variable. You can format those pages into a string variable and display them in a notification email.