How to get the Running Workflows in SharePoint 2013

Hello Readers,

Microsoft has improved the SharePoint Workflows in 2013 by leaps and bounds. Yes, They did. Whats the major difference between SharePoint 2010 & 2013 workflows? Here comes the answer.

1. Workflow Manager – A server component responsible for Workflow functionality. It needs to be installed separately along with SharePoint Server 2013 or another server .

2. Backward Compatibility to SharePoint 2010 –  This features enables you to run the SharePoint 2010 workflow in SharePoint 2013 environments

3.Addition of new Actions

  •  Dictionary objects – For looping through objects
  •  Call HTTP Web Service -Functions as a method call to a Representational State Transfer (REST) endpoint.
  • Start a List Workflow
  • Starts a list-scoped workflow.
  • Start a Site Workflow
  • Translate Document

Now lets get back to the our article to show the list of workflow which are currently running in SharePoint 2013 environment.We can achieve this reports of running workflow through powershell.

Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue

$sitColurl = “MySiteUrl”

$site = New-Object Microsoft.SharePoint.SPSite($sitColurl)
$web = $site.OpenWeb()
$web.AllowUnsafeUpdates = $true;
$list = $web.Lists[“ListName”];

Write-Host “Your List Name Name :” $list.Title



foreach($itemin$list.Items) {


foreach($wfin$workflowInstances) {

IF ($wf.Status -eq “Started”) {

write -host “Running workflow Name is:” $wf.Name




Happy SharePointing 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *