Populating the Data Fields

Data fields used as tokens on an email task must be populated before the email task is processed.

For demonstration purposes the AcknowledgeClaim process simply uses a script task which allows you to use your own email address for the replyToAddress data field.

The claimant formal parameter will contain the email address submitted from the MakeClaim business process.

Procedure

  1. Select the Set email parameters script task.
  2. On the Properties view, General tab, change the value of the Script Defined As field to Javascript. The script area contains a commented assignment for the replyToAddress data field.
  3. Delete the comment delimiters (//) at the start of the line.
    Note: At this point the error marker on the script task disappears.
  4. Change the replyToAddress to your own email address. For example:
          replyToAddress = "llawrence@easyas.com";
  5. Save the project.