29/04/2015
Differences between Event Receivers and SharePoint Workflows
Event Receivers
|
Workflows
|
Can be Executed
Synchronously or Asynchronously.
|
Can be Executed
only Asynchronously which means when an action is completed.
|
Since it is
executing in both modes we can cancel the action which is going to be
occurred.
|
Once an action is
started you cannot stop the operation.
|
Can't be
initiated manually
|
Can be initiated
automatically or manually.
|
Logs are not
possible
|
Log can be
written in workflows
|
Can be used in
actions that needs to be completed immediately based on logic (Immediate
execution)
|
Can be used in
actions that will take even months or years to complete.( Long running)
|
no state is maintained
|
Workflow
maintains state.
|
Triggered on
Synchronous or Asynchronous events.
|
Triggered only on
Creation/Change/deletion events.
|
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment