Skip to Content

Multiple recipients to send mail step

Hi,

I have custom Z table holding recipients of notification (when employee leaves company). Now I need to assign multiple recipients (from this Z table) to send mail step in my workflow. Is it somehow possible? Thanks in advance.

Tomas

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Dec 01, 2008 at 10:17 AM

    Hi,

    Create an element in the workflow container which is of type 'multiline'. Create a new task to get the agents as per your requirement from the Ztable and populate this element. Then use the same element in the Sendmail Step to send the mail to many recipients.

    Hope this will help.

    Regards,

    Samson

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      thanks for advice, I did it this way. I implemented method in BO EMPLOYEET (calls a function module), that fills the multiline workflow container element. Then I use this element in the send mail task as an e-mail address and it works.

      Best regards,

      Tomas

  • avatar image
    Former Member
    Dec 01, 2008 at 09:45 AM

    Hi Tomas,

    You can use the loop step. Read the table entry in a custom method and pass the value from method container to task container and from task to workflow container. Then increment the loop counter and read the next entry. Follow the same to send mail to all users in the Z-table.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 01, 2008 at 10:06 AM

    hi,

    You can add multiple agents or recipent in Agent assignment in tasks.

    Make ur mail an activity then make a task and further you can assign multiple agents.

    Thank you

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 01, 2008 at 10:15 AM

    Hi,

    Using custom code, determine entries frm this Ztable and populate in a multiline container element of type wfsyst-agent and use it in expression of send mail step.

    You can also refer this

    [thread|how-to-send-a-mail-using-a-rule]

    Regds,

    Akshay

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 01, 2008 at 10:57 AM

    This message was moderated.

    Add comment
    10|10000 characters needed characters exceeded