Workflow based solution for SharePoint ‘10SharePoint, a web application platform developed by the software giant Microsoft was launchedin 2001. It has been used in intranet content management and document management as well.The recent versions of this SharePoint have many more capabilities than these two. It has amultipurpose set of web technologies as a result of which this is useful for many organizationswherein technical infrastructure remains common.SharePoint is used in many organizations around the world for automation of internal processwhere multiple users can collaborate together as a part of a single process. One of the maintechniques of creating such automation is the use of Workflow. SharePoint has a WorkflowEngine in built. Whenever objects like List, Document library are created then it can be managedas per the rules which are specified in the workflow. Dot net development has gained a lot fromthe Sharepoint’s new version as it has done the work for developers much easier.Workflow can be created using SharePoint 2010 designer and it has 2 types • Sequential Workflow: It has one start point and from there it can be taken further and completed successfully and terminated based on the defined conditions. • State Machine Workflow: It is based upon the state transition methodology. This requires human intervention at various stages as complex business processes are created.Shown below are both these Workflow models. The sequential Workflow is same as flowchartsin which a start and end both are defined while in state machine the starting is with Initial State,then there are various transitions which determine the path of the workflow.The Workflow instances can start at actions like • Creation of document or List item. • Automatically when the document or List item comes into existence or is changed.Sequential Workflow State Machine Workflow
Creation of Workflow for SharePoint 2010 applicationsThe Workflow creation is possible with SharePoint Designer 2010 (SPD) and VS 2010. Theworkflow which is designed in SPD can be exported to VS and can be edited there. Here wehave explained steps for creation of workflow using SPD.Creating List in SPDFor the sake of simplicity here we will use the example of patient admission process when he/shevisits the hospital. • Initially, open the URL in the browser using SPD and click on Lists on the left side panel. • As soon as you click on it there is a new page shown with All site contents. There click on Create • From the options shown go to Filter By – List – Custom List. Name the list as Patient Admit. This list will contain information of patients and based on the category of disease the associated workflow returns the fees of doctor and information of registration fees.
• As mentioned earlier one can export the workflow to VS for modification in future. Since this a reusable workflow is to be created. It requires Site Columns for defining rules. This can be done by visiting Site Settings – Site Columns. • For creation of the rest of the columns for the list go to Patient Admin Category from the left side panel. Then one gets List details from where List Settings is to be selected. • Create Column is to be used for creation of columns. If the site columns are already created then for adding columns in that list Add from existing site columns should be used. This gives a page where the site columns are specified from where it can be selected.Following these steps properly will give you a list ready for use in the Workflow.About the author: Kathy is a chief software consultant in a leading IT firm involved in dot net development.She interacts with the clients and understands the needs of their automation process theyrequire and then takes it forward systematically for the developers. To read morearticle of this Author please visit here:http://www.directorylife.info/articledirectory/article.php?id=35047