While loops in SharePoint Designer 2013 Workflows

Two types of workflows are available in SharePoint 2013:

  • SharePoint 2010 Workflows: Traditional SharePoint workflows using Workflow Foundation classes with .NET 3.5
  • SharePoint 2013 Workflows: Windows Azure Workflow server with .NET 4.0

Now while running SharePoint 2013 Workflows you can create while loops in SharePoint Designer 2013 workflows. Here’s how they look.

Once you’ve opened a site and a list in SharePoint Designer 2013 you can create a new List Workflow:

SharePoint Designer List WF


The “Create List Workflow” dialog allows you to select the platform for the workflow – you must select SharePoint 2013 Workflow to enable the loop option:

SPD Create WF



Now the ribbon will display a new button “Loop” with two available loop:

SPD Create WF Loop



And so loops can now be added to the workflow:

SPD Create WF Loop Condition


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s