Showing posts with label Event recivers. Show all posts
Showing posts with label Event recivers. Show all posts

Wednesday, January 28, 2015

Difference between Event Receiver and Workflows

    Event Receivers
  • It enables solution architecture designer ,admin Need to improve business process
  • Sync and asyn process
  • Can execute either before or after the operation
  • Can cancel the operation
  • Cannot be launched manually by the user Can be started manually by the user
  • Not designed for user interaction
  • Must be created in Visual Studio
  • Can execute in response to many different actions, including deletes
    Workflows
  • Always executes after the operation
  • Cannot cancel the operation as the item will have already been created
  • Specifically designed for user interaction
  • 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
  • Can be created with Visual Studio, Visio or SharePoint Designer
  • Always asyn process