Table of Contents

Search

  1. Preface
  2. Workflows
  3. Workflow Variables
  4. Workflow Parameters
  5. Cluster Tasks
  6. Command Task
  7. Human Task
  8. Mapping Task
  9. Notification Task
  10. Gateways
  11. Workflow Recovery
  12. Workflow Administration

Developer Workflow Guide

Developer Workflow Guide

Dynamic Email Content

Dynamic Email Content

Use workflow parameters and variables in the email subject and body to dynamically define the content.
You can select a workflow parameter or variable name when you select
Email Content
in the email properties.
You can type a workflow parameter or variable name in the subject or body fields when you select
Email
notification type in the
Notification
tab. When you type the parameter or variable name in the subject or body, use the required syntax.
For example, you create a workflow variable named MappingErrorRows and assign the number of error rows output value for a Mapping task to the variable. You enter the following text in the body of a Notification task:
Mapping failed to write ${var:MappingErrorRows} rows to the target.
The following table describes the types of parameters and variables that you can use to define dynamic content:
Parameter or Variable Type
Description
Workflow parameters
Use a workflow parameter of any type to define email content in a parameter file when you run the workflow.
System workflow variables
Use any of the system workflow variables to include the values of the system workflow variables in email content.
User-defined workflow variables
Use a workflow variable of any datatype to include output values produced by other tasks in email content. Or, use a workflow variable of any datatype to include values assigned to the variable with an Assignment task in email content.

0 COMMENTS

We’d like to hear from you!