Question:
I am starting a workflow via SWW_WI_START_SIMPLE and I need to find the workflow work item id (i.e. type F) but when I do a SWO_QUERY_REQUESTER function call from the transaction invoked by the workflow I am returned the work item id of the first step.
Any ideas on how I can get the type F work item id?
Answer:
I think you can use T-code SWI1?
Here you can find all workitems processed + their ID's
Answer:
Hi,
After you do the call to 'SWO_QUERY_REQUESTER', why not use the returned workitem ID to do a follow-up select on SWWWIHEAD. The 'master' workitem ID (type F) is held in the field 'WI_CHCKWI'.
Regards,
Tim
Answer:
Thanks Tim, just the job.