Event Receivers
|
Workflows
| |||
1.
|
Can be Executed Synchronously or Asynchronously.
|
Can be Executed only Asynchronously which means when an action is completed.
| ||
2.
|
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.
| ||
3.
|
Can't be initiated manually
|
Can be initiated automatically or manually.
| ||
4.
|
Logs are not possible
|
Log can be written in workflows
| ||
5.
|
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)
| ||
6.
|
no state is maintained
|
Workflow maintains state.
| ||
7.
|
Triggered on Synchronous or Asynchronous events.
|
Triggered only on Creation/Change/deletion events.
|
Contributing Knowledge about Microsoft Technology (.NET, SharePoint and many more)
Friday, April 15, 2016
Differences between Event Receivers and SharePoint Workflows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment