<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Terminating Event</TITLE>
 
<META content="MSHTML 5.00.3013.2600" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=373104001-29092000>Hi
Brad</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=373104001-29092000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=373104001-29092000>This
only applies to the single step task. Your single step task obviously executes
an asynchronous object method. Since asynchronous object methods dont (and
technically cant) send a return code back to the caller (like synchronous
methods), the only way the workflow knows the outcome of the task being executed
is by an event which gets raised.&nbsp;Once the terminating event is raised the
workflow runtime sytem knows from the way you have modelled your workflow which
path to continue down after the task has been executed. Typically, asynchronous
methods deal with update tasks and executing a task in the workflow which is
designed to&nbsp;perform an update does not guarantee that the update will be
successful. Therefore, the workflow waits for confirmation (by means of the
terminating event) that the outcome has occured successfully before
continuing.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=373104001-29092000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=373104001-29092000>Cheers</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=373104001-29092000></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN class=373104001-29092000>Graeme
</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff face=Arial size=2><SPAN
class=373104001-29092000>Deloitte Consulting, Melbourne</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV align=left class=OutlookMessageHeader dir=ltr><FONT face=Tahoma
  size=2>-----Original Message-----<BR><B>From:</B> Schroeter, Brad
  [mailto:BSchroeter@ti.com]<BR><B>Sent:</B> Friday, 29 September 2000
  6:21<BR><B>To:</B> SAP-WUG@MITVMA.MIT.EDU<BR><B>Subject:</B> Terminating
  Event<BR><BR></DIV></FONT>
  <P><FONT face=Arial size=2>I have a workflow task (task type WF, multi-step)
  which has an activity step which calls a custom task (task type T).&nbsp; This
  custom task uses an object method with dialog.&nbsp; This custom task has a
  custom terminating event.&nbsp; Does this terminating event have any effect on
  the workflow or does it only apply to the single-step task level?</FONT></P>
  <P><FONT face=Arial size=2>-Brad</FONT> </P></BLOCKQUOTE></BODY></HTML>