SharePoint Web Parts & Office 365 Apps by VirtoSoftware
HomeBlog How to create workflow in SharePoint Online or On-Premise? SharePoint workflow creation basics.
How to create workflow in SharePoint Online or On-Premise? SharePoint workflow creation basics.
How you can apply them to optimize your work processes? Which SharePoint workflow tools can be used?
All these questions are important for every company, which wants to improve its SharePoint Online or On-Premise environment.
What is a SharePoint workflow?
This overview of SharePoint workflow basics highlights the key aspects of how to create workflow in SharePoint, workflow usage and the ways to integrate workflows even if you are completely out of coding. SharePoint workflows are intended to automate business processes and reduce manual operations.
Actually, SharePoint workflows are a structured collection of activities, which can be compounded into several steps. Each activity represents a functional component of a mapped work process.
You can see on the picture below a sample of a vacations approval workflow. This operation can be automated easily with default SharePoint approval workflow.
Before you create workflow in SharePoint, you must have an original understanding of key elements in this process. These questions can help you thoughtfully map out the whole process and create a clean and clear structure before you start to create SharePoint workflow.
What are the permissions and privacy considerations throughout the process?
Who are the users involved in the process?
What are the existing documents used within the process?
What are the pre-conditions and post conditions of this process?
What are the related processes?
What are the existing pain points in the process, such as tracking and reporting, forms to fill out, involved users notifications, exception handling?
Almost any business process can be organized this way. The complexity is limited only by your creativity and skills. The creativity involves the clean structure as well. You have to understand the whole process and should have all steps mapped out. And user-friendly SharePoint workflow tools may partially compensate the lack of skills and can allow you to create workflow in SharePoint seamlessly.
Which SharePoint workflow tools can be used?
Standard and Enterprise SharePoint Server versions include out-of-the-box workflows, such as collect feedback, approval workflow, etc. You can associate and create these default workflows in SharePoint Online or On-Premise with lists and libraries right in your SharePoint. More complex, custom workflows can be created with additional SharePoint workflow tools such as SharePoint Designer and Visual Studio.
The tools choice depends both on your skills and on the business process scheme. What complexity has SharePoint workflow? Workflows in SharePoint may be created with ootb templates, with the extended set of actions from SharePoint Designers (see the article How to create SharePoint Designer 2013 workflow), or with custom coding in Visual Studio.
Default SharePoint workflow. How to create workflow in SharePoint for a library?
There are 5 types of SharePoint workflows that can be used for the following business scenarios.
SharePoint approval workflow. This workflow guides a proposed item or document among designated users who have to approve or reject it.
SharePoint feedback workflow. This feature provides the way to collect users’ feedback for a document, compile it and sends to the workflow initiator.
SharePoint signature workflow. Using this workflow, you can gather users’ digital signatures for documents. SharePoint signature workflow works only with Word and Excel documents, and InfoPath forms.
SharePoint publishing approval workflow. The workflow is used for SharePoint sites with restricted permissions to publish content. With this feature, users from approvers group accept or decline the request to change or update a page.
SharePoint three-state workflow. This workflow lets users track progress of a project or task through three phases (states). The workflow initiator assigns a task to the reviewer, which is notified with email alert. After the task review the workflow progresses to the next phase. Now it is assigned to the acceptor, who completes review and closes the task. SharePoint three-state workflow requires you to have on the document a choice column with at least 3 options. These choice options will be used as initial (active), middle (ready for review), and final (complete) state.
You can find more information what other cases a SharePoint workflow can be used for and how to create workflow in SharePoint for list, library, or site content types in this article: SharePoint 2013 reusable workflow.
Before you begin, pay attention to the following conditions:
You must have permission to add SharePoint workflows to a document library or list.
SharePoint workflows should be activated in the Site collection features. Browse to Site Settings > Site collection features (under “Site Collection Administration” section) and find “Workflows” on the list bottom. Then click “Activate”.
In the next short example, I’ll show how to create workflow in SharePoint for a library.
Browse to a list or library where you want to create SharePoint workflow.
Select “Library” tab and click “Workflow Settings” on the ribbon. Then select “Add a workflow” from the dropdown menu.
You will be redirected to the SharePoint workflow adjustment page. Here you have to define the workflow type, select a name, choose or create a task list to associate with this workflow and specify the History list. Then select the workflow triggers required to start it.
Click “Next” and define workflow behavior on the following page. You can specify the approvers list and carbon copy watchers, define the way how and when tasks are routed to participants, and set circumstances for workflow completion. Let’s name it “SharePoint workflow settings” page, because we have to deal with it after a few more steps.
Click Save. Now, you have to start this SharePoint workflow.
The way to create workflow in SharePoint and start it on item or document is very similar for both SharePoint On Premise and SharePoint Online platforms. Select an item, click on dots to expand the dropdown menu, and find “Workflows”.
You will be redirected to the page with all created SharePoint workflows. Select the required workflow, and you will be redirected to the form with approvers, the “SharePoint workflow settings” page from previous step, that I have asked you to keep in mind. As you can see, it is the same form, where you can make changes before you start this workflow.
Now, click “Start” and run the process. The approvers receive emails after workflow conditions have been triggered. Great news for you, if you are using Outlook email: everything works fine. But if you receive letters on an external email address, you will not see the link to approve the task right from the email.
In this case, you must make your approval manually. In order to do this, open the library with items to approve. Click on the “In Progress” status of your SharePoint workflow.
On this page are displayed all workflow details. You can see the current tasks related to this workflow. Click on task title to approve the task and end this SharePoint workflow.
That’s all. Another email will be sent about the successful approval. End of workflow.
You can create workflow in SharePoint to collect signatures or feedback in the similar way, using default SharePoint workflow templates.
What cases of SharePoint workflow’s usage can be implemented with other tools besides ootb actions? The ready-to-use activities of Virto SharePoint Workflow Activities Kit allow you to configure workflows in SharePoint Designer as easily as in this example. 270+ actions for SharePoint On Premise and 70+ actions for SharePoint Online help you implement and automate any business process in your SharePoint.
Tatiana Sushchenko is the product owner at VirtoSoftware. She started her IT career with the famous ABBYY Lingvo back in 2006 in Moscow. Then she moved to Microsoft performing strongly in various marketing management roles across Visio, SharePoint, Office 365 and Project for almost 10 years. Tatiana is a graduate of the Institute of Business Studies and holds a mini-MBA degree. She also graduated from Microsoft marketing excellence university.