You are here: Getting Started > Tutorials > Tutorial 1: Creating a Time Off Request Form > T1-12. Adding email notifications

Tutorial 1–Step 12: Adding Email Notifications

In this phase you will enhance the Time Off Request workflow used by AlphaOne Bank to send an email notification to the requestor when the assigned manager either approves or rejects the request. In this case, email notification will be sent to Mary Employee when Joe Manager either approves or rejects her Time Off Request.

  1. Sign in as Steve Designer.
  2. Open the Time Off Request workflow in Designer.
  3. On the toolbar, click the Notification button.
  4. In the Originator swimlane, click and drag the mouse to add a Notification Node.
  5. Click the arrow in the Transition connecting Approval 2 to End 3, and move it to Notification 5. Approval 2 should now be connected to Notification 5.
  6. Click Notification 5 and drag to End 3
  7. Click Notification 5.
  8. In the Properties Pane, click the Message box, and click the button to the right.
  9. In the Edit Message dialog box, in the Text box, type Your Time Off Request was approved.
  10. Click OK.
  11. On the toolbar, click the Notification button.
  12. In the Originator swimlane, click and drag the mouse to add a second Notification Node.
  13. Click the arrow in the Transition connecting Approval 2 to End 4, and move it to Notification 6. Approval 2 is now connected to Notification 5 and Notification 6.
  14. Click Notification 6, and then drag to End 4.
  15. Click Notification 6.
  16. In the Properties Pane, click the Message text box, and click the button to the right.

    The Edit Message dialog box appears.

  17. In the Text box, type Your Time Off Request was rejected.
  18. Click OK.
  19. If desired, you can move nodes around on the Designer canvas to make them easier to see and work with.

    NOTE: If you move Nodes on the canvas, be careful not to change the swimlane they are placed in. This will change the person assigned to each node.

    Your workflow will now look similar to the following:

  20. On the File menu, click Save.
  21. On the File menu, click Publish Process.

    Email notification will now be sent to Mary Employee (using her SharePoint email address information) when a Joe Manager either approves or rejects her Time Off Request.