<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Arial">
<DIV>Like I said, what I am trying to do is figure out how to use an AFTER method call. </DIV>
<DIV>Seems to be a very simple thing. Call a method&nbsp;and set a WF Container after the task is </DIV>
<DIV>executed by a user. That's it! </DIV>
<DIV>Little baby steps here... Nothing more at this time until I figure out "how-to". </DIV>
<DIV>&nbsp;</DIV>
<DIV>I tried with / without the parameters and nothing seems to work "as expected" anyway.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Have you ever used an AFTER method or know of any examples in 4.6c to look at?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks and Happy Friday.</DIV>
<DIV>&nbsp;</DIV>
<DIV><BR><BR>&gt;&gt;&gt; mark.pyc@gmail.com 4/22/2005 9:21 &gt;&gt;&gt;<BR>G'day Rick,<BR><BR>I'm willing to be blown out of the water on this one, but I'll reply<BR>since it's Friday arvo and you might not get many other responses.<BR><BR>I don't think you can reliably use import or export parameters on<BR>secondary methods. They are intended really only for display methods<BR>as far as I'm aware. This is another one of those cases where ugliness<BR>in the builder can't be avoided.<BR><BR>Again, I'm far from confident on this one....<BR><BR>Have fun,<BR>Mark<BR><BR>On 4/22/05, Rick Sample &lt;<U> <A href="mailto:Rick.Sample@gbe.com">Rick.Sample@gbe.com</A></U> &gt; wrote:<BR>&gt; I never used "Methods AFTER work item execution" but I have a case<BR>&gt; where I think I may be able to use but need some assistance.<BR>&gt; <BR>&gt; Here is what I have and what I want to do:<BR>&gt; I have a task with several Outcomes.<BR>&gt; I need to update a Workflow template container to a simple value after<BR>&gt; every outcome.<BR>&gt; Different outcomes execute different background methods after the task<BR>&gt; is called and may<BR>&gt; change the value. Depends on what outcome.<BR>&gt; What I am trying to avoid is putting the same Container Operation on<BR>&gt; every outcome except one.<BR>&gt; <BR>&gt; So, I have my business object with a method called SetMyValue with<BR>&gt; a parm same as the WF Template container and a simple one line of code<BR>&gt; <BR>&gt; SWC_SET_ELEMENT CONTAINER 'zMyValue' 'Y'.<BR>&gt; I have the task container same as WF Template container and all binding<BR>&gt; set.<BR>&gt; <BR>&gt; When I inspect the WF Template container after execution of the task,<BR>&gt; the Wf Template<BR>&gt; container is missing. Which tells me that the binding is set correct<BR>&gt; but not being set<BR>&gt; by the called method. i.e. any time binding are defined and no values<BR>&gt; are set the<BR>&gt; WF containers get blown out. At least this is what I notice in 4.6c.<BR>&gt; <BR>&gt; I read page 470 In Practical Workflow for Sap but no examples and not a<BR>&gt; real in depth topic.<BR>&gt; I want to know how to use the "Method After execution" call so don't<BR>&gt; get hung up on the logic.<BR>&gt; <BR>&gt; Any help is appreciated.<BR>&gt; 4.6C<BR>&gt; <BR>&gt; Rick Sample<BR>&gt; SAP Workflow / Developer<BR>&gt; Graybar, Inc.<BR>&gt; 11885 Lackland Rd.<BR>&gt; 63146-4208<BR>&gt; 314.573.5822<BR>&gt; <U><A href="mailto:Rick.Sample@GBE.com">Rick.Sample@GBE.com</A></U> <BR>&gt; _______________________________________________<BR>&gt; SAP-WUG mailing list<BR>&gt; <U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR>&gt; <U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR>&gt;<BR><BR>_______________________________________________<BR>SAP-WUG mailing list<BR><U><A href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</A></U> <BR><U><A href="http://mailman.mit.edu/mailman/listinfo/sap-wug">http://mailman.mit.edu/mailman/listinfo/sap-wug</A></U> <BR><BR></DIV></BODY></HTML>