Dotnetplace.com

.NET Articles, Web Devploment, ASP.NET, HTML, Sharepoint 2010, Aamir Hasan
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here
Advertise Here

Advertise

Loading...


Posted by Fahad Ahmad   on Wednesday, November 23, 2011 Total Views:  

I have been asked a lot about the difference between SharePoint Workflows, Event Receivers and Timer Job. When to use each of them, their limitations and of course their advantages.  Before I start the actual explanation, please note that the scenarios or advantages or limitations listed below are only a few from the several others. As there is no limit on usage of SharePoint, similarly there is no limit to use the above mentioned techniques. This article is intended for newcomers who want to start using these techniques but don’t know where to start from.

 

WorkFlow:

SharePoint Workflow consist a set of task(s) which can be triggered both manually and automatically. In most of the scenarios, Workflows and Event Receives perform the same functionality. SharePoint Workflows are created in SharePoint Designer, Microsoft Visio and of course through Visual Studio. For the beginners, Workflows are the best option to start from as they can be easily created through SharePoint Designer or MS Visio. SharePoint Workflows are used to perform a set of tasks if an item is changed, created, deleted and etc. or in other words the workflow is triggered once an action is completed. The most common examples of workflows are to move an item to another List/Site once it is completed, or to generate custom emails through Workflows and etc.

 

Event Receivers:

SharePoint Event Receivers as from its name are triggered upon an event. Unlike Workflows, Event Receivers can be triggered even when an item is being created or modified or etc. To create an Event Receiver, you need to use Visual Studio. When it comes to robustness, Workflows are more robust than event receivers. They can survive system reboot and while in few cases Event receivers cant. Unlike Workflows, Event Receivers cannot be triggered manually.

 

Timer Jobs:

Lastly, SharePoint Timer Jobs. Timer Jobs are triggered both automatically and manually after a defined period. Timer Jobs, like Event Receivers, are created through Visual Studio. Timer Jobs are different from above two in terms that they are triggered only at the mentioned time. They can also be triggered manually but that’s not why they are created. Let’s say you want to assign some administrative tasks to the users on daily or weekly basis, that’s where you use timer job.

Hope fully this brief overview of the above three can help you decide when to use each one of them. If you wish to learn more, do leave comments as we actively reply to your posts.

 

 

Protected by Copyscape Online Plagiarism Tool

Comments (8) -

demo
demo United States
11/23/2011 9:38:43 PM #

fabiangwilliams.wordpress.com/.../

Nick Kharchenko
Nick Kharchenko Russia
11/24/2011 5:29:58 AM #

I would recommend to try HarePoint Workflow Scheduler for SharePoint 2010 that allows automatic workflow execution. With its help, you can automate recurring business processes, debug your workflows with various sets of parameters or test server’s performance by starting workflows with specified frequency.

www.harepoint.com/.../

fahad ahmed1
fahad ahmed1 Islamic Republic of Pakistan
11/24/2011 8:34:32 PM #

..

fahad ahmed1
fahad ahmed1 Islamic Republic of Pakistan
11/25/2011 11:19:16 PM #

http://snipplr.com/view/28452/

asdfasdf
asdfasdf United States
4/5/2012 7:49:28 AM #

great site

Sasi Kumar Reddy
Sasi Kumar Reddy United States
8/31/2012 8:21:08 AM #

Good info. We can get all types of sharepoint interview questions with answers by refering below post.

sharepointquicksolutions.blogspot.in/.../...w.html

Abu
Abu United States
9/2/2012 6:05:14 AM #

Thanks for the Nice Article.

Found this article which lists out the complete differences and comparison: Event Receivers vs Workflows - Decide Which One to Use:  salaudeen.blogspot.com/.../...orkflows-decide.html

surya
surya India
3/25/2014 1:01:08 AM #

One of the nice post i have ever seen..
Thank you so much..

MAC Makeup
MAC Makeup United States
10/11/2014 9:43:58 AM #

Oh my goodness! an incredible article dude. Thanks Nonetheless I'm experiencing situation with ur rss . Don't know why Unable to subscribe to it. Is there anyone getting an identical rss problem? Anybody who is aware of kindly respond. Thnkx

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5