Hi
I have a problem in sending mail to the Internet Email address from the workflow WS1000109 Task TS1000174.
<b>REQUIREMENT</b>
Need to configure the binding from workflow container to the task TS1000174 with the required parameters for sending the mail to the email address .
<b>PROBLEM</b>
1) When I have configured the binding from Workflow to the Task container as shown below
<b>AddressStrings &_WF_INITIATOR&
TypeId G</b>
Language &LANGUAGE&
PersonnelNumber &PERSONNELNUMBER&
AbsenceFrom &ABSENCEFROM&
AbsenceTo &ABSENCETO&
AbsenceStart &ABSENCESTART&
The notification is sent to the SAP INBOX
2)When I have configured the binding from Workflow to the Task container as shown below
<b>AddressStrings &_WF_INITIATOR&
TypeId B</b>
Language &LANGUAGE&
PersonnelNumber &PERSONNELNUMBER&
AbsenceFrom &ABSENCEFROM&
AbsenceTo &ABSENCETO&
AbsenceStart &ABSENCESTART&
The worklfow during the run time gets in to an error since the Addressstring require the SAPUSENAME and &_WF_INITIATOR& has a value 'US' added to the username
I understand this problem .
2)But When I have configured the binding from Workflow to the Task container as shown below
<b>AddressStrings &WORKITEMWITHSELFMETH.WORKITEMFATHER.CREATEDBYUSER.ID&
TypeId B</b>
Language &LANGUAGE&
PersonnelNumber &PERSONNELNUMBER&
AbsenceFrom &ABSENCEFROM&
AbsenceTo &ABSENCETO&
AbsenceStart &ABSENCESTART&
The worklfow during the run time gets in to an error and itwhen i view the workitem the Values in the <b>Addressstring</b> is not filed with any value .
It would be grt if some one can please let me know any possible solution to send a mail to the internet address from this task and how do I configure this binding for that OR if some one has answers to these questions
1)Why in the 3rd case I dont get any value in the Addressstring ?
2) If this is not right way what will be the possible way of geeting the SAP USERNAME in the Addressstring?
3) Is this value not populated during the runtime
but If I instanciate the SELFITEM object with the workitem and see this value it has the User ID in it .
why there is a diffrence in the instanciation of the BOR Object SELFITEM when instanciation from workflow during runtime and when from the SWO1 transaction.
Do I need to set up somthing for this BOR Object to make it availabe during the run time or is there somethign else missing ?
Please let me know your suggestions.
Many thanks ,
Ankur