This articles outlines a way to generate workflow reports (in-progress workflows and completed workflows) using a PowerShell script in SharePoint 2013. Consider a situation wherever you configure a work flow for a list to alert you when a new item is added or there are any changes to an existing item. In this case workflow item would have a separate instance of work flow.

SharePoint-2013-Hosting

Consider a list with thousands of things, wherever it’s tedious to visualize the workflow status on every item manually, here PowerShell is helpful. The PowerShell script explained in this article loops through all the websites beneath a site collection and every one the lists beneath each web and all the items under each list and generates 2 separate reports, one to hold the in-progress work flow details and also the other to hold the completed workflow details.

The following piece of code generates the workflow reports:

And the following code is the complete code:

I hope this tutorial works for you!

SharePoint 2013 Hosting Recommendation

HostForLIFE.eu’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. HostForLIFE.eu offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options.

hostforlife banner