In this article, we shall see how to create a new workflow in Office 365 SharePoint.
By reading this article we can learn below points,
a) How to create new workflow for the Library
b) How to Apply the Created Workflow to the Libraries
c) How to assign the Task to Resource
d) Email Trigger Sample
Firstly let’s see how to create workflows in office 365 Sharepoint 2013 as shown below,
Before starting about new workflows, its also essential to know about WORKFLOWS and uses of it?
The Main purpose of Workflows in office 365 Sharepoint 2013 are as below
i) It will allow us to automate our business process.
ii) This business process can be as simple as document approval process with a single approver.
A Bank account opening process requires manager to review and approval our documents.If it is accepted by manager then document are ready for opening a account and notify team otherwise it will go to initiator to Update the document.
This process will be continued until the document is approved.
Now, let’s see How to create new workflow in office 365 online
Open your any site collection from your site as shown below,
Now in our demo, we shall consider Document library to create new workflow.
Click on Documents and then click on Library from above ribbon as shown below
Now click on Workflow settings as shown below and select Add a workflow option.
Upon selecting Add workflow option, page navigates to below screen to create a new workflow
Select a desired workflow template as per your need. In our demo, let us select Approval-Sharepoint2010.
Give a proper SharePoint workflow name, in my case it is “Document Approval”
Now, select Tasks (news) in Select a task dropdown as shown below
Select the work flow history, it means new workflow what we are creating will use new history list.
And select the checkboxes as shown in below and click next to proceed.
Up on clicking on next, we shall see Document approval page as shown below
How to assign the Task to Resource
Assign to resource in the system, as shown below
Type in custom request in the Request text box as shown below
Upon your requirements, select the check boxes as shown below and click on save
After clicking on save, page will navigate to settings page as shown below
How to Apply Workflow to a Document in Document library?
Now open the document library, select any document and click on files ribbon as shown below
Click on workflows option as shown below
Note: Select a document to enable workflows option in above screenshot.
Once you done above task, then Document Register will be opened as shown below
You can see our new workflow just created in above screenshot.
If you have more than one workflows, it will listed in the above screenshot.
Now click on the Document approval as shown below, up on click it will navigate to page where Workflow going to be start, if any changes required you can do it and click on start as shown below
Once click on start, the work get instantiated and then goes back to document library as shown below
You can see the status of the work flow in above screenshot.
Email Trigger Sample
In our Next article will show How to approve the Workflow with workflow visualization.
Thanks for ready my article, always open for Questions & Suggestions are always welcome.
About the Author:
Achievements: C#MVP, Member of the Month (January)
Personal Blog: http://premkt.blogspot.my/