Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to get own workitem id from within a task method ?

Hi Everybody,

I need to change an existing workflow. I have to do some code changes in a task - object method.

For this I need some workflow container elements to be passed to the task - this is not passed currently.

I cannot add new container elements to the task as I would then need to change the binding as well. And I cannot do any changes to the workflow.

Is there any way to know the workitem id of the workflow which triggered the task. So that I can then execute "SWW_WI_CONTAINER_READ" with the workitem id and get the container elements - this would also save me from adding a new container element to the task.

If anyone knows please let me know how to get the self workitem id from within the task method.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question