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 (see http://msdn.microsoft.com/en-us/library/jj163181(v=office.15).aspx for an overview and http://msdn.microsoft.com/en-us/library/jj163276(v=office.15).aspx for installation instruction).
The good news is when 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:
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:
Now the ribbon will display a new button “Loop” with two available loop:
And so loops can now be added to the workflow:
Joy of joys! Of course, enabling while loops in SharePoint Designer 2010 is much more difficult – you can find one solution here: https://nickgrattan.wordpress.com/2010/12/14/while-loops-in-sharepoint-designer-workflows/
[…] While loops in SharePoint Designer 2013 Workflows […]
While loops in SharePoint Designer Workflows « Nick Grattan’s SharePoint Blog
July 22, 2012 at 4:42 pm
[…] Confirmed, they are supported but only with Azure Workflows, see: https://nickgrattan.wordpress.com/2012/07/22/while-loops-in-sharepoint-designer-2013-workflows/ Like this:LikeBe the first to like […]
Even More SharePoint 2013 Snippets « Nick Grattan’s SharePoint Blog
July 22, 2012 at 4:46 pm