Skip to main content

Creating a workflow in Office 365 SharePoint by #RathrolaPremKumar

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.
For Eg:
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

Click on Documents and then click on LibraryNow click on Workflow settings as shown below and select Add a workflow option.
Workflow Settings
Upon selecting Add workflow option, page navigates to below screen to create a new workflow
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”
SharePoint workflow name
Now, select Tasks (news) in Select a task dropdown as shown below
Select Tasks in Select a task dropdown
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.
Work flow history
Up on clicking on next, we shall see Document approval page as shown below
Document approval page
How to assign the Task to Resource
Assign to resource in the system, as shown below
Assign to resource
Type in custom request in the Request text box as shown below
Custom request in the Request text box
Upon your requirements, select the check boxes as shown below and click on save

Select the check boxes as per your requirements
After clicking on save, page will navigate to settings page as shown below
Settings page
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
The document library
Click on workflows option as shown below
Workflows option
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
Document Register
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
Document approval
Once click on start, the work get instantiated and then goes back to document library as shown below
Document library
You can see the status of the work flow in above screenshot.
Email Trigger Sample

Email Trigger Sample
In our Next article will show How to approve the Workflow with workflow visualization.
Thanks for ready my article, am always open for Questions & Suggestions are always welcome 




Comments

Popular posts from this blog

ERROR: Cannot resolve the collation conflict between SQL_Latin1_General_CP1_CI_AS and Latin1_General_CI_AS_KS_WS in the equal to operation

ERROR: Cannot resolve the collation conflict between SQL_Latin1_General_CP1_CI_AS and Latin1_General_CI_AS_KS_WS in the equal to operation
dont get panic if u get the following error while in your joinings, there is a simple way to solve this.
it is because of collation settings on two columns we are doing joinings. it is because of collation settings on two columns we are doing joinings
First step is to figure out what are two colaltion that cause for conflicts. Let us assume that collation has not been set at the column level and instead at db level, then we have to execute two simple statements as below.

Statements: Select DATABASEPROPERTYYEX('DB1',N'Collation') Select DATABASEPROPERTYYEX('DB2',N'Collation')
One more thing, make a note that if you are on sharepoint you will get error as below
Latin_General_CI_AS_KS_WS. if you are on most any other database and use the dafault settings you may get this SQL_Latin_General_CP1_CI_AS.
Now we have to do some…

How To Create The Data Adapter Object Using ADO.NET by #RathrolaPremKumar

By reading this article, you will learn key points in ADO.NET, as given below. What is Data Adapter?Primary Data Adapters for the databases.Data Adapter properties.Methods used by Data Adapter.How to create Data Adapter with an example? Let’s start our demo with a Data Adapter introduction. Actually, we use Data Adapter object to establish the connection to the data source and manage the movement of date to and from the database. What is Data Adapter? A data adapter aobject serves as a bridge between a data set object and Data Source such as a database to retrieve and save the data. Data adapter contains a set of database commands and a database connection, which we use to fill a dataset object and update the Data Source. Primary data adapters for databases? .NET makes two primary data adapters available for use with the databases. Other data adapters can also be integrated with Visual Studio .NET. Primary Data Adapters are mentioned below. OleDbData Adapter, which is suitable for use wi…

Work 9 to 6 for Salary and 6 to 9 for Career

How much time one must spend in office, the subject line of the Post is something I have heard from a client several years back and believe the best of all choices. She was in executive rank and was highly successful in both office & home fronts.................................................................... She said following “Souvik, you get a salary to do 40 hours of work per week. You must come on time at 9 am and work efficiently to plan & finish it by 6 pm. Whatever you are doing during this time, you must try to do it in the best possible way. You should plan so that you do not sign up for more work than what you can deliver. Also manage your priorities & timing to avoid work fluctuations as much as practically possible.”  I nodded head as what she said is something everybody knows. She continued. “However, 9-6 work will only help you “earn” your salary. It will not be good enough to offer a sustained growth, especially in later part of your career. If you really w…