Problem understanding event parameters
Karen Bender
karen_bender at rac.ray.com
Fri Mar 8 16:14:56 EST 2002
=20
Here's what I'm trying to do, but it's not working.
=20
>From a program I put an element in a container, then create an event.
=20
code:
swc_set_element <event container> 'USERID' var_userid.
call function 'SWE_EVENT_CREATE'
.
.
.
=20
The event being created has the parameter USERID.
=20
I also put USERID in the workflow container and put it in the binding =
between the event and the workflow, therefore I know a value is in the =
parameter.
=20
My problem is:
=20
I want to use the USERID parameter to create an attribute in the object. =
This object contains the event that is triggering the workflow.
=20
In the coding for the attribute, the first thing I do is:
=20
swc_get_element container 'USERID' usrid.
=20
I get nothing in the variable usrid. Do I have access to the event =
parameters at the time the object is being created? If so, how can I =
access it? =20
If not, can somebody tell me where to put the code that converts the =
userid to an email address that is needed in a task within the workflow?
=20
Thanks for any help you can give.
=20
Karen Bender
Raytheon Aircraft Company
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20020308/11167baf/attachment.htm
More information about the SAP-WUG
mailing list