Now that you have your initial view and form configurations complete, it's time to start building the Expense Claim Workflow! In this step, you add a workflow and configure it to start when you submit the new claim form. You add the first of several steps that update the status column in your SharePoint list. You update the status to reflect each leg of workflow (such as submitted, approved, rework).
The K2 Workflow Designer launches.
The K2 Workflow Designer environment contains four primary sections:
The Toolbox is where you will find the different types of steps that you can add to a workflow. You can drag and drop the steps you need for your workflow onto the canvas. User steps usually involve human interaction, such as a person having to make a decision for the workflow to continue. System steps, such as sending an email or updating data in some other system, are performed by the K2 server. Lines connect steps to each other, and define the "path" that the workflow will follow.
Accessing steps in the Toolbox
The Design Canvas is where you drag and drop the steps you need for constructing your workflow. You can move the workflow around by clicking within the canvas, then dragging your mouse to a new location. This is helpful if your workflow is larger than your browser screen.
Moving the workflow around the design canvas
The Configuration Panel contains the settings for each step. After highlighting a step on the canvas and expanding the Configuration Panel, the Configuration Panel will display a series of tabs. The tabs are specific to the step type. The Configuration Panel also contains the Context Browser. The Context Browser provides access to variables, functions, SmartObjects, and workflow variables.
Accessing step tabs in the Configuration Panel; expanding the Context Browser
In this step, you created the Expense Claim Workflow. You added an Update List Item step. You update the status column in your SharePoint list several times throughout the workflow build. This lets you know the current state of the workflow progress at all times. You also changed the name of the step. The step name is the label you see on the workflow design canvas. It is always a good idea to rename steps so that you can tell at a glance what function the step performs. In the next step, you add and configure the approval outcome steps.