<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:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns5="http://schemas.microsoft.com/office/2004/12/omml">

<head>

<meta name=Generator content="Microsoft Word 11 (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]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="address"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
 name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:Verdana;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Verdana;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:Verdana;
        color:black;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
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-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:8.0pt;color:black'>Thanks! I created a new workflow container
element and added a container step as the first step in the workflow. Now I can
see that the virtual attribute of my object is in fact blank when the workflow
begins. After the workflow is completed the attribute is getting changed in the
workflow log. It looks like this happens (the value changing in the log) with
virtual attributes but not database attributes.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:8.0pt;color:black'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:8.0pt;color:black'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal><strong><b><font size=2 color=black face=Verdana><span
style='font-size:10.0pt;font-family:Verdana;color:black'>Chris Barr</span></font></b></strong><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:7.5pt;color:black'>Lockheed Martin - <st1:City w:st="on"><st1:place
 w:st="on">Enterprise</st1:place></st1:City> Business Services</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:7.5pt;color:black'>MD 0751</span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><st1:Street w:st="on"><st1:address w:st="on"><font size=1
  color=black face=Verdana><span style='font-size:7.5pt;color:black'>1801 State
  Route</span></font></st1:address></st1:Street><font size=1 color=black><span
style='font-size:7.5pt;color:black'> 17C , <st1:place w:st="on"><st1:City
 w:st="on">Owego</st1:City>, <st1:State w:st="on">NY</st1:State> <st1:PostalCode
 w:st="on">13827</st1:PostalCode></st1:place></span></font><font color=black><span
style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:7.5pt;color:black'>607-625-3929</span></font><font
color=black><span style='color:black'><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=1 color=black face=Verdana><span
style='font-size:7.5pt;color:black'><a href="mailto:chris.barr@lmco.com">chris.barr@lmco.com</a></span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='margin-left:.5in;text-align:center'><font
size=3 face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>

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

</span></font></div>

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Munday,Sherie J.<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 30,
2009 1:33 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: can workflow
container in log change?</span></font><font size=3 face="Times New Roman"><span
style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Hi
Chris,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>One
other thought&#8230;. If you want an attribute of an object to be constant, you
should store it in a separate element via a container operation.&nbsp; We do
this a lot with HR flows because as you make changes to the object, the attributes
of that object can then change.&nbsp; If you want a true snapshot of an
attribute at a point in time, you need to preserve it in an element of its own.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Kind
Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Sherie<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

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

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Munday,Sherie J.<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 30,
2009 1:24 PM<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">SAP
 Workflow Users' Group</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: can workflow
container in log change?<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Chris,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>This
is just a thought, but have you thoroughly tested the Condition Step?&nbsp; We
have found that Case sensitivity and spacing sometimes give us results we did
not expect.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Best
Wishes,<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'>Sherie<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=2 color="#1f497d"
face=Calibri><span style='font-size:11.0pt;font-family:Calibri;color:#1F497D'><o:p>&nbsp;</o:p></span></font></p>

<div>

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

<p class=MsoNormal style='margin-left:.5in'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
sap-wug-bounces@mit.edu [mailto:sap-wug-bounces@mit.edu] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Barr, Chris<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, September 30,
2009 1:16 PM<br>
<b><span style='font-weight:bold'>To:</span></b> sap-wug@mit.edu<br>
<b><span style='font-weight:bold'>Subject:</span></b> can workflow container in
log change?<o:p></o:p></span></font></p>

</div>

</div>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'>I have a virtual attribute, UsageDecision, on ZBUS2045
subtype of BUS2045 &#8211; Inspection Lot. In custom code an Inspection Lot is
Created and then later in the code a Usage Decision is made. My workflow is
triggered from the CREATED event. The first step in the workflow is a Condition
Step that should just complete the workflow if UsageDecision = AIM. The
Condition Step continues the workflow as if UsageDecision was NOT equal to AIM.
But in the workflow log in the workflow container I see UsageDecision set to
AIM. I couldn&#8217;t figure out why the Condition Step would not have seen
that. I have heard that the workflow container is dynamic and can change after
the workflow is Completed. Which would mean that when the Condition Step executed
the UsageDecision was not set yet and that&#8217;s why the workflow continued.
Is this true? I thought that the workflow container in the log would have been
a snapshot at that point in time that it was used.<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:8.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:.5in'><strong><b><font size=2
face=Verdana><span style='font-size:10.0pt;font-family:Verdana'>Chris Barr</span></font></b></strong><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:7.5pt'>Lockheed Martin - <st1:City w:st="on"><st1:place w:st="on">Enterprise</st1:place></st1:City>
Business Services</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:7.5pt'>MD 0751</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><st1:Street w:st="on"><st1:address
 w:st="on"><font size=1 face=Verdana><span style='font-size:7.5pt'>1801 State
  Route</span></font></st1:address></st1:Street><font size=1><span
style='font-size:7.5pt'> 17C , <st1:place w:st="on"><st1:City w:st="on">Owego</st1:City>,
 <st1:State w:st="on">NY</st1:State> <st1:PostalCode w:st="on">13827</st1:PostalCode></st1:place></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:7.5pt'>607-625-3929</span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:7.5pt'><a href="mailto:chris.barr@lmco.com">chris.barr@lmco.com</a></span></font><o:p></o:p></p>

<p class=MsoNormal style='margin-left:.5in'><font size=1 face=Verdana><span
style='font-size:7.5pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>