cancel
Showing results for 
Search instead for 
Did you mean: 

Is multiple recipients allowed for mail type workitem?

Former Member
0 Kudos

I have one "Send Mail" step in my workflow, I want to send the mail to multiple recipients, one of the recipient is &_WF_INITIATOR& the workflow initiator which is dynamically determined at runtime and other recipients &RECIPIENTS& of the mail are determined by application. So can I set the recipients of this "Mail" with expression like this:

&_WF_INITIATOR&;&RECIPIENTS&, split them with ";" like outlook?

Thanks for your answer.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If I am not wrong, RECIPIENTS is a MULTI LINE CONTAINER ELEMENT which gets determined from the Application. Why dont you add your WF_INITIATOR logic also to that Application logic, so that RECIPIENTS contain the WF_INITIATOR also?

You cannot set Mail Expression as :<i>&_WF_INITIATOR&;&RECIPIENTS&</i>.

You can only set only one Container(single/multi line) Element for each mail step.

Regards,

<i><b>Raja Sekhar</b></i>

Former Member
0 Kudos

How could I get the &_wf_intiator& in my application? one possible way is I bind it from Workflow container -> Task Container -> BO Container, then return the internal table of recipients back to workflow container again.

Don't you think it's too trouble for such a simple function? Thanks for your reply.

Former Member
0 Kudos

Yah,

If you think, if it is too long, then add one more Mail Step for WF Initiator alone.

Regards,

<i><b>Raja Sekhar</b></i>

pokrakam
Active Contributor
0 Kudos

Hello Ya,

Hope the reply isn't too late, but you can simply add another element to a multiline using the 'append to table' container operation.

Thus insert a container operation before the sendmail, append WFINITIATOR to your RECIPIENTS element.

Cheers,

Mike