<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)">
<style>
<!--
 /* Font Definitions */
 @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-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'>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><o:p>&nbsp;</o:p></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>