<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Monotype Corsiva";
        panose-1:3 1 1 1 1 2 1 1 1 1;}
@font-face
        {font-family:Kendaia;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#606420;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-GB link=blue vlink="#606420">

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Sue,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That contradicts what you just confirmed in response to Rick's
message </span><span style='font-size:11.0pt;font-family:Wingdings;color:#1F497D'>J</span><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If the deadline is anywhere in the *<b>calling</b>* workflow,
then that is the one terminating the subworkflow. The subworkflow retains all
its settings and container element is, but because the termination happens from
outside it should *<b>not</b>* bind anything back. As I said earlier, the
calling workflow does not know whether the subworkflow is in a consistent state
or has valid data.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Think of the relationship between the two analogous to calling
an RFC function in another system: the caller submits a function call together
with parameters and wait for a response from the other system. After a certain
period of time it assumes that something has gone wrong and stops waiting and
continues with a predefined error handling process. There are no return
parameters involved here. The principle with both the RFC and calling workflows
is a &#8220;black box&#8221; - &nbsp;the caller does not know what happens inside the
function or process that it is calling, it's just interested in a result.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers, <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mike<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Sue Doughty<br>
<b>Sent:</b> 11 December 2007 12:42<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> RE: Missing Workflow Container<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Mike,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>After looking at this again&#8230;.the deadline is in the calling
workflow &#8211; on the sub-workflow task that is being called.&nbsp; Why am I seeing
the MISSINGDOCS container having the entries in it in the log though &#8211;
shouldn&#8217;t all the containers of the sub-workflow be empty if the deadline is
reached?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>I will move the deadline to the sub-workflow and see if that fixes
my problem.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Thanks for your input.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p>&nbsp;</o:p></span></p>

<div>

<p><span lang=EN-US style='font-size:10.0pt;color:navy'>Regards,</span><span
lang=EN-US style='font-family:"Arial","sans-serif";color:navy'> <o:p></o:p></span></p>

<p class=MsoNormal><b><i><span lang=EN-US style='font-size:18.0pt;font-family:
"Monotype Corsiva";color:blue'>Sue T. Doughty</span></i></b><b><i><span
lang=EN-US style='font-size:18.0pt;font-family:Kendaia;color:blue'> <br>
</span></i></b><span lang=EN-US style='font-size:7.5pt;color:navy'>SAP Workflow
Specialist<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:7.5pt;color:green'>OLD
DOMINION FREIGHT LINE, INC.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:navy'>500 Old
Dominion Way, Thomasville, NC 27360<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:7.5pt;color:navy'>Toll
Free :(800)432-6335, ext.5189</span><span lang=EN-US style='font-size:8.0pt;
font-family:"Arial","sans-serif";color:navy'> <br>
</span><span lang=EN-US style='font-size:8.0pt;color:navy'>Phone :(336)822-5189
Fax :(336)822-5149</span><span lang=EN-US style='font-size:8.0pt;font-family:
"Arial","sans-serif";color:navy'> <br>
</span><span class=MsoHyperlink><span lang=EN-US style='font-size:8.0pt'><a
href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span><o:p></o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Mike Pokraka<br>
<b>Sent:</b> Monday, December 10, 2007 4:55 PM<br>
<b>To:</b> 'SAP Workflow Users' Group'<br>
<b>Subject:</b> RE: Missing Workflow Container</span><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Sue,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>This makes sense. If the deadline is being reached in your
calling workflow then the subworkflow will not be completed and no binding back
to the calling flow will be executed. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Why does this make perfect sense? Simple: because the calling
workflow with the expiring deadline does not know what state the subworkflow is
in. It might be halfway through processing and contain some invalid or garbage
data. Therefore it definitely should not bind anything back if it is the
calling flow that terminates the subflow. &nbsp;Another way to look at it is
that the subflow is the only one allowed to perform any binding. <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The answer to what you are trying to accomplish - getting a
subflow container element back to the calling workflow when a deadline is
reached - would be to put the deadline into the subworkflow.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Mike<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> sap-wug-bounces@mit.edu
[mailto:sap-wug-bounces@mit.edu] <b>On Behalf Of </b>Sue Doughty<br>
<b>Sent:</b> 10 December 2007 17:46<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> Missing Workflow Container<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>We
are on ECC 6.0.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
know I must be doing something really stupid, but I can&#8217;t see it!! &nbsp;<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
have a workflow (WF-1) that calls a sub-workflow (WF-2).&nbsp; The sub-workflow
(WF-2) has a Deadline on it. &nbsp;The sub-workflow (WF-2) returns a multi-line
container (MISSINGDOCS) back to the calling workflow (WF-1).&nbsp; When the
deadline is reached, the latest end path in the workflow (WF-1) executes a BO
SELFITEM, Task SENDTASKDESCRIPTION to send notification to a Personnel clerk
that shows which documents are missing.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>The
MISSINGDOCS container contains a list of the documents that are missing.
&nbsp;I can see the MISSINGDOCS container being returned from the sub-workflow
(WF-2), but the container is empty when sent into the notification step in
WF-1.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>I
have checked all the Import/Export parameters.&nbsp; The task being executed
for the SELFITEM BO has the MISSINGDOCS container as an Import container.&nbsp;
The MISSINGDOCS container is used in the Text Description of the task.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>When
I look at the log, the task shows the MISSINGDOCS container as being empty for
the SELFITEM task. &nbsp;I tried putting a container operation right after the
sub-workflow (WF-2) returns to the workflow (WF-1) (before going to the
SELFITEM task) to move the MISSINGDOCS container to another container, but it
is empty at that point also.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif"'>What
am I missing????<o:p></o:p></span></p>

<p><span lang=EN-US style='font-size:10.0pt'>Regards,</span><span lang=EN-US
style='font-family:"Arial","sans-serif"'> <o:p></o:p></span></p>

<p class=MsoNormal><b><i><span lang=EN-US style='font-size:18.0pt;font-family:
"Monotype Corsiva";color:blue'>Sue T. Doughty</span></i></b><b><i><span
lang=EN-US style='font-size:18.0pt;font-family:Kendaia;color:blue'> <br>
</span></i></b><span lang=EN-US style='font-size:7.5pt'>SAP Workflow Specialist<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:7.5pt;color:green'>OLD
DOMINION FREIGHT LINE, INC.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt'>500 Old Dominion
Way, Thomasville, NC 27360<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:7.5pt'>Toll Free
:(800)432-6335, ext.5189</span><span lang=EN-US style='font-size:8.0pt;
font-family:"Arial","sans-serif"'> <br>
</span><span lang=EN-US style='font-size:8.0pt'>Phone :(336)822-5189 Fax
:(336)822-5149</span><span lang=EN-US style='font-size:8.0pt;font-family:"Arial","sans-serif"'>
<br>
</span><span class=MsoHyperlink><span lang=EN-US style='font-size:8.0pt'><a
href="mailto:sue.doughty@odfl.com">sue.doughty@odfl.com</a></span><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p><span lang=EN-US>**************************** <br>
CONFIDENTIALITY NOTICE: The information contained in this message may be confidential,
privileged, proprietary, or otherwise legally exempt from disclosure. If the
reader of this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, you are
hereby notified that you are not authorized to read, print, retain, copy or
disseminate this message, any part of it, or any attachments. If you have
received this message in error, please delete this message and any attachments
from your system without reading the content and notify the sender immediately
of the inadvertent transmission. Thank you for your cooperation.<o:p></o:p></span></p>

<p><span lang=EN-US>**************************** <br>
CONFIDENTIALITY NOTICE: The information contained in this message may be
confidential, privileged, proprietary, or otherwise legally exempt from
disclosure. If the reader of this message is not the intended recipient, or an
employee or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you are not authorized to read, print, retain,
copy or disseminate this message, any part of it, or any attachments. If you
have received this message in error, please delete this message and any
attachments from your system without reading the content and notify the sender
immediately of the inadvertent transmission. Thank you for your cooperation.<o:p></o:p></span></p>

</div>

</body>

</html>