Difference between event receiver and workflow in sharepoint

 After long search, i got the below ans for above question

Event Receivers
Workflows
Can execute either before or after the operation
Always executes after the operation
Can cancel the operation
Cannot cancel the operation as the item will have already been created
Cannot be launched manually by the user
Can be started manually by the user
Not designed for user interaction
Specifically designed for user interaction
Can execute in response to many different actions, including deletes
Can only execute in response to one of four events – Manual, an item being created, an item being edited, and an item being submitted for approval
Must be created in Visual Studio
Can be created with Visual Studio, Visio or SharePoint Designer
Thanks to the below blog click

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell