cancel
Showing results for 
Search instead for 
Did you mean: 

TS20000139 Enter and Send message

former_member31961
Contributor
0 Kudos

Hi

We are using Trip request workflow WS20000040. and when the approver rejects the trip request then the task TS20000139 executes and pops up a window where approver writes his comments , receiver id (employee) and will send it to the employee. The process works fine but our requirement is to write the receiver id by default (i.e.by workflow itself) as Workflow Initiator.i.e.No need for manager to search his employee's user id and enter in the receiver field. How can we achieve this ?

Thanks

Shrinivas

Accepted Solutions (1)

Accepted Solutions (1)

KKilhavn
Active Contributor
0 Kudos

Check the binding. In the system here there is binding from the workflow to the task, where Trip.TravelerUser is bound to Receiver, and B is bound to ReceiverType. That ought to be enough.

If you want to send it to the initiator instead, replace Trip.TravelerUser with an expression where you have stripped away the leading US from WF_Initiator.

Former Member
0 Kudos

If I need to send this message to more than 1 person, how can this be done ?

KKilhavn
Active Contributor
0 Kudos

Please don't ask new questions in an existing thread like this, for 2 reasons:

1) you can not award points

2) you are messing up the archive of answered questions

The recipient list is a multiline container element, so sending to more than one person is supported.

Message was edited by Kjetil Kilhavn:

Since I don't have access to a SAP system now I can't confirm that the recipient list is a multiline container element in this particular task, but SOFM.Send method supports multiple recipients unless I am getting completely senile.

Answers (0)