Email Addresses
In addition to specifying users and groups as the email recipients, you can enter email addresses that receive an email from the Notification task. Enter email addresses in the Notification tab.
You can enter any valid email address. Enter multiple email addresses separated by a semicolon. You can use workflow parameters and variables to dynamically define email addresses.
If you enter an email address that is not valid, the Notification task runs and reports back to the domain that the email address is undeliverable. The Notification task sends an email to the address that the Email Service specifies to indicate the delivery failure.
Entering Email Addresses
A Notification task can send an email to any valid email address that you enter in the email properties.
1. Select the Notification task in the editor.
2. In the Properties view, click the Notification tab.
3. Select Email under Notification Types.
4. In the Properties area, enter a fully qualified email address in the appropriate address field.
Enter multiple email addresses separated by a semicolon.
Dynamic Email Addresses
Use workflow parameters and variables to dynamically define email addresses.
When you enter email addresses in the email properties, use the Dynamic Email Addresses tab to select parameters and variables that define email addresses. You cannot type a parameter or variable name in the address fields.
The following table describes the types of parameters and variables that you can use to define dynamic email addresses:
Parameter or Variable Type | Description |
---|
Workflow parameters | Use a string workflow parameter to define the email address in a parameter file when you run the workflow. |
System workflow variables | Use the UserName system workflow variable to send an email to the user that runs the workflow. |
User-defined workflow variables | Use a user-defined string workflow variable to assign an email address using an Assignment task in the workflow. |
When you define an email address in a parameter file or in an Assignment task, enter a single email address for the value.
Configuring Dynamic Email Addresses
Use workflow parameters and variables to configure dynamic email addresses.
1. Select the Notification task in the editor.
2. In the Properties view, click the Notification tab.
3. Select Email under Notification Types.
4. Click To.
The Email Properties dialog box appears.
5. Select Email Addresses, and then click Dynamic Email Addresses.
6. Click New.
The Developer tool adds an empty row to the recipients list.
7. Click in the Recipients column, and then select an existing parameter or variable, or a new parameter or variable.
- - Select a workflow parameter or variable name.
- - Click New Parameter or New Variable. In the Add Parameter or Add Variable dialog box, enter the name and type of the parameter or variable. Enter a default email address for a parameter, or an initial email address for a variable.
8. In the Email column, select To, Cc, or Bcc.
9. Click OK.