SharePoint Designer 2010 Workflows
What types you can use, how to get started
March 2, 2011
Automating your business processes is obviously an essential part of SharePoint. SharePoint 2010 provides us with multiple ways in which we can implement this automation - using workflows. This beginner-level article is to help you get started with this functionality. Check out the resources cited at the end of the article to continue your journey.
There are four ways to implement workflows in your SharePoint sites:
1. Use the browser and built in workflow templates - A great way to start making simple workflows. Doesn't require any other tools other than the browser.
2. Use SharePoint Designer 2010 - SharePoint Designer 2010 is free and lets you create powerful and robust workflows using a variety of built in activities (such as sending an email, creating list items, copying documents and a whole lot more). The resulting workflows are easy to understand and ownership can be transferred to business users as it seems fit.
3. Use Visual Studio - This is by far the most powerful and flexible way of creating workflows. However, it requires knowledge of the Visual Studio environment and programming. In addition, once you deploy the workflows, chances are you will need to manage them as well.
4. Buy workflow building tools from 3rd party vendors - There are some really good companies out there who will sell you their workflow building package bundles. Some of them are quite affordable and provide great functionality. Check out the recording of a webinar we conducted a while back in which I talked through the limitations of workflows in SharePoint and demonstrated the functionality of a third-party vendor.
If you decide on option two above--to build powerful workflows without code using SharePoint Designer 2010--you will be happily surprised. There is an immense amount of power and functionality that you get with this software that most people are not even aware of (and did I mention that it’s Free!?).
Types of Workflows
The Workflow Designer in SharePoint Designer 2010 is used to create workflows on the currently opened SharePoint site. There are three types of workflows, as shown in Figure 1, that can be created using SharePoint Designer. Each type of workflow has its reason for existence and should be used by Site Admins, Power Users and Designers of the site. Workflows in SharePoint sites are used to create robust processes using components of the site. .
Following is a quick breakdown of how the three SharePoint Designer workflows are used and why you would use them:
List Workflow – Using this mechanism, you attach the workflow directly to a list or library on the site. Use this workflow when you are making a workflow that’s very specific to a list or library and does not need to be later used on a different list or library.
Reusable Workflow – This type of workflow is created with reusability in mind. Create a reusable workflow when you intend to attach it to multiple lists/libraries or a content type and use that content type within a list or library.
Site Workflow – Site based workflow does not require to be attached to a list or library. It works on the site itself. Use this workflow if you do not want to restrict the automated process to a list or library on the site. For example, you can use the site workflow to take a survey of the site members or to execute a process on a Document Set.
Workflow Designer Interface
The workflow designer interface, which Figure 2 shows, is where you define the complete logic of the workflow. To put it simply, SharePoint Designer workflows consist of steps which are executed sequentially in the order they are placed in the workflow designer. Clicking on the Step button in the ribbon inserts a new step in the workflow designer interface. Within the step, you can place Conditions and Actions. Clicking on the Condition button will show you all of the conditions that are available.
A conditional logic statement is used to look out for a specific possibility. If the condition is true, then whatever is encapsulated within the conditional block will be executed. Otherwise, the workflow process will move on to the next conditional logic statement (if one exists).
Programmers have been using the conditional logic construct (If… Else If… Else) for decades now. Now information workers also have the power to write their own business logic without coding!
Actions are the actual statements which execute a certain activity (e.g., creating a List Item, checking in an Item, sending email).
SharePoint Designer Workflow Resources
There are a variety of scenarios that can be accomplished with SharePoint Designer workflows. The following resources will provide you with the resources you need to continue your journey.
About the Author
You May Also Like