<br><font size=2 face="sans-serif">Inside of your workflow, you should
have the element _Workitem. The _Workitem element is a business object
of type flowitem. It has a wealth of information. To access
it inside of your task, you need to bind it from the workflow into the
standard task... The import parameter of business object method must
be set up to accept the attribute from the standard task. You will
need to create an import parameter of type business object Flowitem.</font>
<br>
<br><font size=2 face="sans-serif">After you make these connections, then
you should be able to get object inside of your method from the task container,
instantiate it, and access its attributes.</font>
<br><font size=2 face="sans-serif">-------------------------------------------------------------------------------------<br>
Tedde Taege<br>
University of Nebraska Computing Services Network<br>
SAP Development 402 472-7544</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Márton Zsolt <Zsolt.Marton@t-systems.co.hu></b>
</font>
<br><font size=1 face="sans-serif">Sent by: sap-wug-bounces@mit.edu</font>
<p><font size=1 face="sans-serif">09/08/2006 09:43 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
"SAP Workflow Users' Group" <sap-wug@mit.edu></font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">"SAP Workflow Users' Group"
<sap-wug@mit.edu></font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">RE: Object attachments in a decision
step</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 color=#000080 face="Arial">Hi all,</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">We are in 5.0.</font>
<br><font size=2 color=#000080 face="Arial">I’m using a custom method
as a default method for a business object. I have to use the workflow id
(or the task id ) in my method. Is this possible, to get this information
(WS…..) ?</font>
<br><font size=2 color=#000080 face="Arial">I tried the following abap
code</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">swc_get_element container '_Workitem'
workingwi. </font>
<br><font size=2 color=#000080 face="Arial">swc_get_property workingwi
'WorkitemTask' task.
</font>
<br><font size=2 color=#000080 face="Arial"> </font>
<br><font size=2 color=#000080 face="Arial">but, the task is empty. </font>
<br><font size=2 color=#000080 face="Arial">Thanks</font>
<br><font size=2 color=#000080 face="Arial">Zsolt</font>
<br><font size=2 color=#000080 face="Arial"> </font><tt><font size=2>_______________________________________________<br>
SAP-WUG mailing list<br>
SAP-WUG@mit.edu<br>
http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
</font></tt>
<br>