cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Work Item Binding issue

Khushbu
Explorer
0 Likes
2,134

Hi,

I have created a custom Workflow as copy of WS00500001 and added few steps for sending emails.

While sending email, I have to bind the current work item ID from Task to method. While binding, the variable is changing automatically on save. Below are the screenshots describing the issue:

Binding from Workflow to task:

Mail body:

Task:

Task Container:

Binding Task and Method (Which is needed):

But after saving this binding , If I go again and check this is changed to below and also with error:

Kindly suggest how to rectify this issue and how should I pass the current WI to method.

In the above binding, If I change the variable like below then there is no error. But after running I am getting the main workflow WI ID. So, the text is not coming from mail body.

Please help to rectify this error.

Thanks and regards,

Khushbu

Accepted Solutions (1)

Accepted Solutions (1)

Khushbu
Explorer
0 Likes

SAP provided below OSS Note and the issue is resolved.

3165262 - PFTC: binding can't be changed - side effect of the note 3098918
https://launchpad.support.sap.com/#/notes/3165262

Answers (1)

Answers (1)

venkateswaran_k
Active Contributor
0 Likes

Hi

In your class or BOR object - Check the method Parameters (in and out) - with respect to these fields

IV_WORKITEM_ID

IS_RECEIVER

Khushbu
Explorer
0 Likes

Thank you for your reply Venkat.

The parameter details are below: