Adding Workflow Data to an E-Mail Message

In the exercise in the previous section, you created an e-mail message that will be sent whenever the workflow runs. You might have noticed, however, that the message does not contain any meaningful information for the people who receive it. To make the message meaningful, you should include dynamic content populated from the workflow itself. Using the Windows Workflow Foundation and SharePoint Designer, you can include workflow variables in any field of the e-mail message.

Tip

When you include workflow variables in the subject of the message, those variables must make up the entire subject line; when you include workflow variables in the body of the message, they can be placed inline with other static text ...

Get Building Web Applications with Microsoft® Office SharePoint® Designer 2007 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.