<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Action Triggering a Workflow</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.3790.3041" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>I've managed to find the solution to 
this.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>I had created my BO as 'ActivityObj'.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>Whereas if I name is 'BusinessObject', the same as the 
element created when the workflow is started then the Activity object is 
transferred to the workflow container into the object 
'BusinessObject'.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>So it seems to do it's binding if the business object is 
actually called 'BusinessObject' in your workflow container.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>Thanks</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=641162115-18022008><FONT face="Trebuchet MS" 
color=#000080 size=2>David</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Sample, 
Rick<BR><B>Sent:</B> 18 February 2008 14:50<BR><B>To:</B> SAP Workflow Users' 
Group<BR><B>Subject:</B> RE: Action Triggering a Workflow<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN 
class=469164714-18022008>When your event is triggered, it will have all the data 
in the event container.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN 
class=469164714-18022008>On you wf, first screen on SWDD, you have Triggering 
Events. Enter the BOR and</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN 
class=469164714-18022008>the elements you want to pass into the WF. Ensure you 
have the TypeLinkage active.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN 
class=469164714-18022008></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face="Microsoft Sans Serif" color=#000080><SPAN 
class=469164714-18022008><!-- Converted from text/plain format -->
<P><FONT size=2>Rick Sample<BR>SAP Business Workflow Developer<BR>Graybar, 
Inc.<BR><BR><BR><BR></FONT></P></SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> sap-wug-bounces@mit.edu 
[mailto:sap-wug-bounces@mit.edu] <B>On Behalf Of </B>Bibby, 
David<BR><B>Sent:</B> Monday, February 18, 2008 8:31 AM<BR><B>To:</B> 
sap-wug@mit.edu<BR><B>Subject:</B> Action Triggering a 
Workflow<BR></FONT><BR></DIV>
<DIV></DIV><!-- Converted from text/rtf format -->
<P><FONT face="Trebuchet MS" size=2>Hi,</FONT> <BR><FONT face="Trebuchet MS" 
size=2>I hope someone can give me some pointers on how to pass parameters into a 
WF that is triggered from an action.</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>I created a custom action that triggers a 
custom workflow.</FONT> <BR><FONT face="Trebuchet MS" size=2>However I cannot 
seem to find a way to pass the object (Activity Object BUS2000126) into the 
workflow when the action triggers it.</FONT></P>
<P><FONT face="Trebuchet MS" size=2>When the workflow triggers, a new container 
element appears in the container of the workflow started called 'BUSINESSOBJECT' 
and contains the value:</FONT></P>
<P><FONT face=Tahoma color=#000000 
size=2>"47B2812EED613659E10000000A3200A7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
BUS2000126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
BO"</FONT> </P>
<P><FONT face=Tahoma color=#000000 size=2>However my Activity object based on 
BUS200126 is not set.</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>Has anyone ever attempted this and 
succeeded?</FONT> </P>
<P><FONT face="Trebuchet MS" size=2>Many Thanks</FONT> <BR><FONT 
face="Trebuchet MS" size=2>David</FONT> </P><BR><BR><BR><BR>
<P><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">_______________________________________________</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">This communication, sent 
by or on behalf of Linklaters LLP or one of its affiliated firms or other 
entities (together "Linklaters"), is confidential and may be privileged or 
otherwise protected. If you receive it in error please inform us and then delete 
it from your system. You should not copy it or disclose its contents to anyone. 
Messages sent to and from Linklaters may be monitored to ensure compliance with 
internal policies and to protect our business. Emails are not secure and cannot 
be guaranteed to be error free. Anyone who communicates with us by email is 
taken to accept these risks. </SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">Linklaters LLP is a 
limited liability partnership registered in England and Wales with registered 
number OC326345 and whose registered office is One Silk Street, London EC2Y 8HQ. 
Regulated as a law firm by the Solicitors Regulation Authority (www.sra.org.uk). 
</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">A list of Linklaters LLP 
members together with those non-members designated as partners, and their 
professional qualifications, may be inspected at our registered office. 
</SPAN></P>
<P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'">The term partner in 
relation to Linklaters LLP is used to refer to a member of Linklaters LLP or an 
employee or consultant of Linklaters with equivalent standing and 
qualifications. www.linklaters.com</SPAN></P>
<P><SPAN 
style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial'"></SPAN>&nbsp;</P></BODY></HTML>