Plug-in 或Workflow的使用時機常讓人搞混,在此利用表格做區分,讓設計時能夠一目了然要使用Plug-in 或Workflow…
Requirement | Plug-in | Workflow |
Needs a synchronous action to happen before or after an event occurs | x |
|
The same piece of logic will be executed for different events and possibly on different entities | x | x |
The logic needs to be executed while offline | x |
|
Needs elevation of privileges (impersonation) | x |
|
Needs to execute on events other than assign, create, update, setstate | x |
|
The process/logic may take a long time to complete or will be a persistent process (multiple long running steps) |
| x |
Needs an asynchronous action | x | x |
End users will need to modify the process logic |
| x |
Child sub processes will be triggered |
| x |
沒有留言:
張貼留言