<div><div>Hi Swathi,<br><br>On the step you want the "Workitem ID" from, set your _Workitem binding (from Task to Workflow) to a container element in your workflow (you can call it "Previous_Workitem" for example):
<br><br>Note: if binding out from a normal task, your container element should be Object type: WORKINGWI, <br>for background tasks the object should be BATCHITEM and; <br>for sub/workflows, the Object type is FLOWITEM.<br>
<br>Now you have stored the standard output of that workflow step into a container - you should have the "Workitem ID" of that step available in your "Previous_Workitem" container.<br><br>Hope that helps.
<br><br>Cheers,<br>Tom<br><br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, January 25, 2007 3:08 pm, Swathi_Devireddy wrote:
<br>> Hi,<br>> I have a situation where i need to check whether that partcular <span id="st" name="st" class="st">Workitem</span><br>> was executed by the<br>> Standard Option-Forward <span id="st" name="st" class="st">
Workitem</span> in my next Background step in Workflow.<br>><br>> I checked the standard table SWIHEAD there is a field WI_FORW_BY which<br>> contains a value if it WI was forwarded.<br>> Problem is i am unable to retrieve the
<span id="st" name="st" class="st">workitem</span> ID .<br>><br>> Design<br>> Main workflow calls a subworkflow. In my subworkflow i have my steps.<br>> When i do binding of the <span id="st" name="st" class="st">
Workitem</span> ID it retrieves the first <span id="st" name="st" class="st">Workitem</span> ID in<br>> my<br>> subworkflow and not my Current Steps <span id="st" name="st" class="st">Workitem</span> in Logs.<br>> Any idea how to get the current
<span id="st" name="st" class="st">workitem</span> ID.<br>><br>> Thanks & Regards<br>> Swathi Devireddy<br>> HCU-<span id="st" name="st" class="st">SAP</span><br>> Satyam Computer Services Ltd<br>> * : +91 40 3065 2511
<br>> * : +91 98853 35301<br></blockquote></div><br>