<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
 
 
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>Dear=20
workflowers:</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>Here's =
what I'm=20
trying to do, but it's not working.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>From a =
program I put=20
an element in a container, then create an event.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
code:</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
swc_set_element &lt;event container&gt; 'USERID'&nbsp;=20
var_userid.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
call function 'SWE_EVENT_CREATE'</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>The =
event being=20
created has the parameter USERID.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>I also =
put USERID in=20
the workflow container and put it in the binding between the event and =
the=20
workflow, therefore I know a value is in the =
parameter.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>My =
problem=20
is:</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>I want =
to use the=20
USERID parameter to create an attribute in the object.&nbsp; This object =
 
contains the event that is triggering the workflow.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>In the =
coding for=20
the attribute, the first thing I do is:</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
swc_get_element container 'USERID' usrid.</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>I get =
nothing in the=20
variable usrid.&nbsp; Do I have access to the event parameters at the =
time the=20
object is being created?&nbsp; If so, how can I access it?&nbsp;=20
</FONT></SPAN></DIV>
<DIV><SPAN class=3D350542020-08032002><FONT face=3DArial size=3D2>If =
not, can somebody=20
tell me where to put the code that converts the userid to an email =
address that=20
is needed in a task within the workflow?</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D350542020-08032002>Thanks for any=20
help you can give.</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN=20
class=3D350542020-08032002></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D350542020-08032002>Karen=20
Bender</SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DArial><FONT size=3D2><SPAN =
class=3D350542020-08032002>Raytheon=20
Aircraft Company</SPAN></FONT></FONT></DIV></BODY></HTML>