The e-mail task

The Email task is used to send success or failure e-mail notifications. You can use the Email task to send e-mail notifications to inform about the success or failure of a particular part of a workflow. You can use your mail server to send e-mail notifications. Your admin team will configure the mail server with Informatica to send e-mail notifications. Once you configure your mail server with Informatica, when an e-mail task gets triggered, the e-mail is sent directly from your mailbox.

You can configure the Email task to send e-mail notifications, or you can also configure the session task to send e-mail notifications. We have discussed the latter option in the session task.

Creating an e-mail task

To create an Email task in Workflow Manager or Task Developer, follow these steps:

  1. In Workflow Manager or Task Developer, navigate to Tasks | Create.
  2. From the list of tasks, select the Email task and specify the name of the Email task, which is em_TASK_NAME. For our reference, we are using the Email task name as em_FAILURE_NOTIFICATION. Click on Create, and then click on Done.
    Creating an e-mail task

    The task appears in Workflow Manager or Task Developer. Use the Link task to connect the start task to the Email task:

    Creating an e-mail task
  3. Double-click on the Email task to open the task in the edit view. Click on Properties.
    Creating an e-mail task
  4. Click on OK to close the edit view.
  5. Add the details in the Email task as follows:
    • The Email user name: Mention the name of the e-mail address to which you wish to send e-mail notifications. If you wish to send an e-mail to multiple users, separate the e-mail IDs by comma.
    • Subject: Enter the subject of the e-mail you wish to send.
    • Text: Click to open the e-mail editor to enter the text that you wish to send with the e-mail. You can attach the log file, workflow name, repository name, and so on using the variables available in the e-mail task editor.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset