SharePoint - event handlers

Asked By mahesh
09-Nov-10 02:43 AM
what is the difference between event handlers and workflows
  Sagar P replied to mahesh
09-Nov-10 02:47 AM

The main differences between SharePoint event handlers and SharePoint workflows are:

Initiation
SharePoint event handlers are automatically initiated, while SharePoint workflows can be initiated either automatically or manually.

Response
A SharePoint event handler always responds to an event that has taken or is taking place on an item, while a SharePoint workflow does not necessarily have to react to an event that is taking place. While it can react to an item being created or changed, you can also manually start a workflow after an item has been created.

User Interaction
SharePoint event handlers have no user interface, so users cannot interact with event handlers. On the other hand, you can create either ASP.NET or InfoPath forms to provide user interactivity with SharePoint workflows. And you can add even more interactivity by using SharePoint Tasks lists along with the workflow.

Duration
SharePoint event handlers run for a short period of time (generally seconds), while SharePoint workflows may run for a much longer time period (days, months, or even years).

Robustness
Since SharePoint workflows are hydrated and dehydrated, they can “survive” server reboots, while SharePoint event handlers cannot.


Check this link for more details;

http://www.documentmanagementworkflowinfo.com/workflow/differences-sharepoint-workflows-sharepoint-event-handlers.htm
  Reena Jain replied to mahesh
09-Nov-10 02:48 AM
hi,

SharePoint event handlers vs. SharePoint workflows

The main differences between SharePoint event handlers and SharePoint workflows are:

Initiation
SharePoint event handlers are automatically initiated, while SharePoint workflows can be initiated either automatically or manually.

Response
A SharePoint event handler always responds to an event that has taken or is taking place on an item, while a SharePoint workflow does not necessarily have to react to an event that is taking place. While it can react to an item being created or changed, you can also manually start a workflow after an item has been created.

User Interaction
SharePoint event handlers have no user interface, so users cannot interact with event handlers. On the other hand, you can create either ASP.NET or InfoPath forms to provide user interactivity with SharePoint workflows. And you can add even more interactivity by using SharePoint Tasks lists along with the workflow.

Duration
SharePoint event handlers run for a short period of time (generally seconds), while SharePoint workflows may run for a much longer time period (days, months, or even years).

Robustness
Since SharePoint workflows are hydrated and dehydrated, they can “survive” server reboots, while SharePoint event handlers cannot.


hope this will help you
Create New Account
help
simple Workflow sample with ASP.NET SharePoint All - - Please help. I need a simple Workflow sample with ASP.NET forms. I have a HelloWorld Workflow sample as a Console Application. I have a Workflow sample that uses InfoPath forms. Is there a sample that uses ASPX forms? Please advise. Thank you. - - Mark Kamoski SharePoint Development Discussions ASP.NET (1) SharePoint (1) InfoPath (1) Check the ASPXCollectFeedback workflow in the "ECM Starter Kit
integration asp.net with sharepoint server 2007 possibilities SharePoint I'm new to both asp.net development and sharepoint 2007. I was wondering if it was possible to design an asp.net application first as a standalone web application and later integrate it with sharepoint when
How to develop and deploy Sharepoint Site from ASP.net website? Hi, I need the steps to convert and develop SharePoint Site from existing ASP.net website (good branding). That asp.net website contains the about us, services (with sub tabs) and contact us tabs. I would
asp.net integration with Sharepoint Server 2007 possibilities IIS I'm new to both asp.net development and sharepoint 2007. I was wondering if it was possible to design an asp.net application first as a standalone web application and later integrate it with sharepoint when funds
How to display Infopath form in asp.net web page? I want to show and interact with infopath Form in asp.net web page. U must use " XmlFormView " Control to display infopath form in asp.net web page. But thre r some restriction on hosting Infopath form in asp.net