8 Steps to create workflows using SharePoint designer

No.of Views1110
Bookmarked0 times
Downloads 
Votes0
By  questpond   On  16 Feb 2010 00:02:29
Tag : SharePoint , How to
8 Steps to create workflows using SharePoint designer
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

8 Steps to create workflows using SharePoint designer


Introduction

8 Steps to create work flow using SharePoint designer

Step 1

Step 2

Step 3

Step 4

Step 5

Step 6

Step 7

Step 8

Previous SharePoint QuickStart FAQ

Introduction

Workflows are now an integral part for any project. You can build a SharePoint work flow using the available templates, SharePoint designer and using visual studio 2005 / 2008.

This tutorial will mainly concentrate on work flow creation using SharePoint designer. We will walk through the basic 8 steps needed to create work flows using SharePoint designer.

You can download my 400 .NET FAQ EBook from http://www.questpond.com/SampleDotNetInterviewQuestionBook.zip

Watch my 500 videos dedicated to Microsoft technologies @ http://www.questpond.com

8 Steps to create work flow using SharePoint designer

SharePoint designer helps us to create workflows and attach the workflows to a content type like list , document etc. In other words SharePoint designer creates workflows and publishes the workflow on the SharePoint server site.

To understand it better we will build a simple work flow of completed and incomplete tasks. We will create two lists one is the incomplete tasks and the other the completes tasks. The workflow will flow something like this:-

• User will create a task and enter the status of the task.

• If the task is incomplete nothing will happen.

• Once the task is marked as complete. The task will be copied from incomplete task list to completed task list.

• The task will be deleted from the incomplete task list.

So let’s understand the eight important steps we will need to create the above work flow using SharePoint designer.

Step 1

Create a team site using the SharePoint team site template.

Step 2

Create two task list one is incomplete task list and the other completed task list.
To create task list click on site action à Create: - Add a new library list à create a task

Step 3

Start the SharePoint designer.

Step 4

Open the site in your SharePoint designer using click on file à open site.

Step 5

Go to workflows by clicking on file à new à SharePoint content and click ok as shown in the below figure.

Step 6

This is a important step. In this step we define two important things first is this work flow will be attached to which list. Currently we have attached the work flow to incompleted tasks list. Second we need to define the events on which the workflow should be activated. For the current scenario we have considered two events one when the item is created and the second when the item is updated.

Step 7

This is one more crucial step where we need to define on what condition the work flow will execute and what action should take place if the condition is true. So when a task status is completed then two actions will take place. First the task will be copied from the incomplete task list to the completed task list. Second the task is deleted from the incomplete task list.

Once you click finish you can see the work flow created in the share point designer. This workflow is also published to the SharePoint server,

You can see if the work flow is associated with the incomplete task list. Go to incompleted tasks à Settings à List settings à Workflow settings, you can see the work flow is attached to the incomplete task list.

Step 8

Ok, now it’s time to see the work flow in action. So go to incomplete task list and create a task with status completed.

Once you click ok you see the task for some seconds in the incomplete tasks list and then the task is copied to the completed task list and deleted from the incomplete task list.


Previous SharePoint QuickStart FAQ

Quick Start FAQ Part 1:- 11 basic FAQ questions, must for every new comer. It's a the basic Quick Start FAQ tutorial which talks about What is SharePoint, WSS, MOSS, Site/Site collection , Virtual Path provider and then ends with explaining SitePages and Application pages.here

Quick Start FAQ Part 2:- This is the second part in the series which explains the ready made functionalities, custom pages, deploying/activating/deactivating features and lot. here

Quick Start FAQ Part 3:- This is the third part of the series in which we have explained page templates , page instances, WSS model, understand safe mode processing and deploy custom controls. here

Quick Start FAQ Part 4:- This series is all about webparts, webparts and webparts. here

Quick Start FAQ Part 5 :- This series will mainly concentrate on custom columns, content types and document list library. I am sure once your read this article your thinking of how SharePoint organizes document centralization will change.here

Quick Start FAQ Part 6 :- here

Thank you

Shivprasad Koirala

 
Sign Up to vote for this article
 
About Author
 
questpond
Occupation-
Company-
Member Type-Expert
Location- Not Provided
Joined date-24 Jun 2009
Home Page-
Blog Page-
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top