In this article we will discuss about various components of SharePoint designer workflow.
Steps are the foundation of any workflow and allow you to organize it into logical sections. This could include preparing variables, which are used to store data temporarily while the workflow is running or collecting data from a user.
Steps can be named and renamed by clicking on the existing titles. Similarly you can delete a step. Also there can be possible of nested steps.
Conditions allow the workflow to make decisions and respond differently based on the data that is provided by SharePoint lists or end user entries. You can get all the conditions from the Condition button in the Ribbon. There are lot of conditions available in SharePoint designer 2010:
- lf any value equals value
- If field equals value
- Created by a specific person
- Modified by a specific person
- Person is a valid SharePoint user
- Title field contains keywords etc
Actions make the workflow do something. You can get all the actions from the Actions tab from the Ribbon. There are different categories of actions. Some actions are: Add a Comment, Log to History List, Check In Item, Copy List Item, Create List Item etc.
Variables are used to store and manipulate data while the workflow is running. Each time a new workflow instance runs, a new set of variables is used, even if multiple copies of the workflow have been initiated by multiple users. When a workflow is finished, the data in the variables is lost.
When you first create a workflow, it does not have any variables. Sometimes when adding actions to your workflow will automatically create a new variable or variables. For example, adding a Do Calculation action will automatically create a calc variable.
5- Else-if Conditions:
Else-if branches work directly with conditions for more advanced decision making. To add a else-if condition, place the cursor inside the existing condition and click the Else-If Branch key on the Ribbon.
Users can interact with workflows through forms. Forms are pages viewed through the browser that allow the user to supply additional data to a workflow.