cancel
Showing results for 
Search instead for 
Did you mean: 

How to send mail to different recipient type in single mail step of Sap workflow?

Former Member
0 Kudos

Hello All,

I want to send mail to different recipient type (distribution list, Email, IT key) in single mail step. Currently I am using three different mail step for each recipient type. User want single recipient list for all recipient type. currently because of different mail step there is different recipient list. please guide me to combine recipient list in single recipient list.

BR,

Shahu

Accepted Solutions (0)

Answers (1)

Answers (1)

anjan_paul
Active Contributor
0 Kudos

Hi,

In that case you create a Activity step, where you get all the agent using custom BO method as you want. Then use the Mail step to send the mail to that agents from previous step.

Former Member
0 Kudos

Hi Anjan,

Here I am triggering workflow inside and filling all related container(distribution list, email addresses, user id ) inside Badi only. But in case of distribution list user wants that if express flag is set then mail goes to with express and if express flag is not then mail goes normal. So this distribution list , email and user id with same recipient list.

BR,

Shahaji