70-573 · Question #45
You create a workflow named WF1. WF1 is attached to a list named List1. You need to receive an e-mail notification if WF1 is postponed. What should you do?
The correct answer is B. Attach an SPWorkflowEventReceiver event receiver to List1. MNEMONIC RULE: "Workflow = SPWorkflowEventReceiver" The SPWorkflowEventReceiver class handles workflow events throughout the lifetime of a Starting: Occurs when a workflow is starting Started: Occurs when a workflow is started Postponed: Occurs when a workflow is postponed…
Question
You create a workflow named WF1. WF1 is attached to a list named List1. You need to receive an e-mail notification if WF1 is postponed. What should you do?
Options
- AUse a HandleExternalEvent activity in WF1.
- BAttach an SPWorkflowEventReceiver event receiver to List1.
- CAttach an SPItemEventReceiver event receiver to List1.
- DUse a ReceiveActivity activity in WF1.
How the community answered
(23 responses)- A13% (3)
- B74% (17)
- C4% (1)
- D9% (2)
Explanation
MNEMONIC RULE: "Workflow = SPWorkflowEventReceiver" The SPWorkflowEventReceiver class handles workflow events throughout the lifetime of a Starting: Occurs when a workflow is starting Started: Occurs when a workflow is started Postponed: Occurs when a workflow is postponed Completed: Occurs when a workflow is completed You can register the SPWorkflowEventReceiver with any site, list, or content type. Apress-SharePoint 2010 as a Development Platform (book)
Topics
Community Discussion
No community discussion yet for this question.