Deliver to 2 Email Sources

 1 Replies
 2 Subscribed to this topic
 14 Subscribed to this forum
Sort:
Author
Messages
thummel1
Veteran Member
Posts: 121
Veteran Member
    Hi,

    We have a Smart Note that contains a column for the employee's email address and the Manager's email address. Currently, the Smart Note is set up to deliver to the column that the Supervisor's email address resides in. We'd like to also deliver this Smart Note to the employee's email address that is in the employee email address column.

    Is it possible to burst this Smart Note using 2 different columns fromour Info Set (SUPV_EMAIL, and EMPLOYEE_EMAIL)? The goal is to avoid creating 2 separate Smart Notes. Thanks
    Dave Curtis
    Veteran Member
    Posts: 136
    Veteran Member
      I have not come across a way to use two differnt columns to do the delivery, however we do this with a bunch of our smart notes.

      We use SQL for all our smart notes and the way we handle this is to basically have the query in the SQL twice, using a UNION ALL to combine the queries. In one query the employee email is included in the column used for delivery, in the second, the manager email is used in the same column.
      This results in the employee record being listed twice, once with the employee email and the second with the manager.

      I have one that the query is repeated and joined with unions 8 times, this is used to send to the employee and the entire leadership from direct supervisor to executive level.