<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>.hmmessage P {
        PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
        FONT-SIZE: 10pt; FONT-FAMILY: Tahoma
}
</style>
<meta content="MSHTML 6.00.3790.2920" name="GENERATOR">
<style title="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body class="hmmessage" ocsi="x">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">Mike,</font></div>
<div dir="ltr"><font face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font face="tahoma">No comment on the locking behavior as I have not played around with this. Love to hear what other have experienced.</font></div>
<font face="tahoma">
<div dir="ltr"><br>
</font><font face="tahoma">Yes from what I have heard the XML is a bit faster. Since your current client has such high volumes I would recommend that you guys do some testing to see if the improved performance warrants a re-design of your current workflows
 to take advantage of the new XML persistence layer. Even a small improvement may multiply out to a significant benefit because of the volumes that you guys deal with.</font></div>
<div dir="ltr"><font face="tahoma"></font>&nbsp;</div>
<div dir="ltr"><font face="tahoma">Regards,</font></div>
<div>
<div><font face="Tahoma" size="2">
<p class="MsoNormal"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri"></span></font></b></strong>&nbsp;</p>
<p class="MsoNormal"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri">Alon</span></font></b></strong></span></font></b></strong></span></font></b></strong>
 Raskin</span></font></b></strong></p>
<p class="MsoNormal"><strong><b><font face="Calibri" color="navy" size="3"><span style="FONT-SIZE: 12pt; COLOR: navy; FONT-FAMILY: Calibri">e:</span></font></b></strong><strong><b><font face="Calibri" color="navy"><span style="FONT-WEIGHT: normal; COLOR: navy; FONT-FAMILY: Calibri">
<b><font color="navy"><span style="FONT-WEIGHT: bold; COLOR: navy"><a title="blocked::mailto:araskin@3i-consulting.com" href="mailto:araskin@3i-consulting.com"><font face="Calibri"><span style="FONT-FAMILY: Calibri"><span title="blocked::mailto:araskin@3i-consulting.com">araskin@3i-consulting.com</span></span></font></a></span></font></b></span></font></b></strong></p>
<p class="MsoNormal"></p>
<p class="MsoNormal"><b><font face="Times New Roman" color="navy" size="3"><span style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy"></span></font></b></p>
<p class="MsoNormal"><b><font face="Times New Roman" color="navy" size="3"><span style="FONT-WEIGHT: bold; FONT-SIZE: 12pt; COLOR: navy"><a title="blocked::http://www.themobileworkplace.com/
http://www.themobileworkplace.com/" href="http://www.themobileworkplace.com" target="_blank"><font face="Calibri" size="2"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri"><span title="blocked::http://www.themobileworkplace.com/"></span></span></font></a></span></font></b></p>
</font>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> sap-wug-bounces@mit.edu [sap-wug-bounces@mit.edu] On Behalf Of Mike Gambier [madgambler@hotmail.com]<br>
<b>Sent:</b> Wednesday, February 27, 2008 5:10 AM<br>
<b>To:</b> SAP Workflow Users' Group<br>
<b>Subject:</b> RE: Version question (extended)<br>
</font><br>
<p></p>
</div>
</div>
<div></div>
<div>Thanks Mark :)<br>
&nbsp;<br>
On the subject of EC 6.0 and the new version-dependent settings I have a few questions of my own.<br>
&nbsp;<br>
Has anyone tried the 'Locking properties' settings to see what performance benefits there are with the new values?<br>
&nbsp;<br>
&nbsp;&nbsp; =&gt; Standard behaviour (default)<br>
&nbsp;&nbsp; =&gt; Lock behaviour for Sequential Workflows<br>
&nbsp;&nbsp; =&gt; Lock behaviour for Background Workflows<br>
&nbsp;<br>
I'm curious to know, because we have several complex definitions that seek to lock objects in branches that just may compete with each other. I'm secretly hoping that the last option might solve a problem we have with occasional deadlocks.<br>
&nbsp;<br>
Also, we're in the process of upgrading to EC 6.0, so our active Workflow instances (yes, we intend to upgrade with workflow instances still on-the-go, albeit not actually active during the upgrade process!)&nbsp;will be using the 'old' Structure persistence container
 (so SWW_CONT and SWW_CONTOB). <br>
&nbsp;<br>
We don't know yet if this is going to cause us any problems; I've read the white paper on the subject and in theory we should be fine.&nbsp;I'd appreciate it if any of you wuggers out there could let me know if you've seen or heard of any problems with&nbsp;instances
 waking up in their new environment and&nbsp;falling over or complaining because of container elements.<br>
&nbsp;<br>
On the same&nbsp;subject I've heard that the 'new' XML persistence appraoch is supposed to be a tad faster, anyone have experience of that first hand? Since we interrogate SWW_CONTOB in lots of places outside of Workflow we will probably have to stick with the old
 approach for most of our Workflows, but if anyone thinks the XML container isn't that much better (or maybe worse) I'd like to know just in case we need to start to switch to it.<br>
&nbsp;<br>
Regards,<br>
<br>
Mike GT<br>
<br>
&gt; Date: Wed, 27 Feb 2008 10:44:17 &#43;0000<br>
&gt; Subject: RE: Version question<br>
&gt; From: wug@workflowconnections.com<br>
&gt; To: sap-wug@mit.edu<br>
&gt; <br>
&gt; Mike: Great piece of info, thanks.<br>
&gt; Mark: Also have a looky on OSS, search for &quot;workflow version&quot; there's a<br>
&gt; note 1240005 or some number like that which explains the difference<br>
&gt; between version-dependent and version-independent changes.<br>
&gt; <br>
&gt; On Wed, February 27, 2008 8:03 am, Mike Gambier wrote:<br>
&gt; &gt;<br>
&gt; &gt; Hi Mark,<br>
&gt; &gt;<br>
&gt; &gt; The short answer is probably 'no'. An instance that has kicked off will<br>
&gt; &gt; know what version of the definition it is supposed to use throughout its<br>
&gt; &gt; life (stored on SWP_HEADER-WFD_VERS) and normally that doesn't change,<br>
&gt; &gt; ever.<br>
&gt; &gt;<br>
&gt; &gt; There are good reasons for this, not least of which is that the Workflow<br>
&gt; &gt; definition dictates to the system not only what the expected next steps<br>
&gt; &gt; should be in the chain but also what table entries to create in the<br>
&gt; &gt; twenty-odd other dedicated Workflow tables to model it all. It's like a<br>
&gt; &gt; blueprint; you wouldn't want to change the design of the first floor of<br>
&gt; &gt; your house having already laid the foundations based on your previous plan<br>
&gt; &gt; now would you? What if you missed out an entire staircase?<br>
&gt; &gt;<br>
&gt; &gt; I say normally but a few things might be possible might persuade the<br>
&gt; &gt; Workflow to behave a little differently 'in flight':<br>
&gt; &gt;<br>
&gt; &gt; 1. Changing the current active version of a Sub-Workflow in a later step<br>
&gt; &gt; after the Parent Workflow has been started is OK. The Parent does not care<br>
&gt; &gt; what the active version of the Sub-Workflow used to be prior to reaching<br>
&gt; &gt; the step, it will just use whatever is the 'active' version at that point<br>
&gt; &gt; in time. But the actual binding used to call the Sub-Workflow (or anything<br>
&gt; &gt; else for that matter) is sensitive to version changes, so be careful on<br>
&gt; &gt; this one if the signature has changed in any way.<br>
&gt; &gt;<br>
&gt; &gt; 2. Amend the actual code behind a Business Object Attribute or Method<br>
&gt; &gt; prior to the Workflow reaching a step that calls the code. Again the<br>
&gt; &gt; Workflow will use whatever has been loaded into the active runtime buffer<br>
&gt; &gt; when it reaches the step. This can cause a bit of grief if the Task/Method<br>
&gt; &gt; binding has changed by the way, so again watch out and avoid adding new<br>
&gt; &gt; 'mandatory' parameters on the fly.<br>
&gt; &gt;<br>
&gt; &gt; Now I say 'normally' but I have seen a rather dirty hack (naming no names)<br>
&gt; &gt; performed on an instance of a Workflow whereby the 'version' value was<br>
&gt; &gt; changed on the fly by a direct table update to SWP_HEADER-WFD_VERS. The<br>
&gt; &gt; end result was surprisingly successful but only because the difference<br>
&gt; &gt; between the 'old' and the 'new' versions of the Workflow definition were<br>
&gt; &gt; relatively simple (an additional modelled outcome of an existing step) and<br>
&gt; &gt; were much further down the line than where the instance had successfully<br>
&gt; &gt; navigated to. I suspect such a hack would have had no effect on an<br>
&gt; &gt; instance that had already reached that step and might have actually caused<br>
&gt; &gt; havoc if the 'new' definition required new container elements to exist in<br>
&gt; &gt; the instance's container, etc etc.<br>
&gt; &gt;<br>
&gt; &gt; I'm not advocating this approach at all but in desperation (e.g. to avoid<br>
&gt; &gt; being sued) it is an alternative to canning the instance altogether and<br>
&gt; &gt; re-starting it from scratch.<br>
&gt; &gt;<br>
&gt; &gt; Rememeber that standard SAP Workflow versioning is only about 90%<br>
&gt; &gt; effective as well. Things like changes the Workflow container elements are<br>
&gt; &gt; never stored. So don't assume for a second it's anywhere near as advanced<br>
&gt; &gt; as ABAP program versioning where you can rollback your changes. Sometimes<br>
&gt; &gt; you have to manually unpick things to revert things back to how they were<br>
&gt; &gt; before.<br>
&gt; &gt;<br>
&gt; &gt; Oh, and forget about trying to match up the version numbers from your dev<br>
&gt; &gt; system to your live system. Over time these will be completely out of step<br>
&gt; &gt; with each other since the live system will be burning new version numbers<br>
&gt; &gt; every time it tries to activate a transport version (9999 in SWDSHEADER)<br>
&gt; &gt; and turn it into an 'active' version.<br>
&gt; &gt;<br>
&gt; &gt; If your definition has a syntax error and fails to activate AND the system<br>
&gt; &gt; forgets which previous version was able to be activated (can happen<br>
&gt; &gt; sometimes) the system will continue to try and try to activate the<br>
&gt; &gt; definition, merrily burning version numbers as it goes along.<br>
&gt; &gt;<br>
&gt; &gt; In one case one of our definitions jumped from version 10 to 350 in an<br>
&gt; &gt; afternoon in the live environment because of this.<br>
&gt; &gt;<br>
&gt; &gt; Regards,<br>
&gt; &gt;<br>
&gt; &gt; Mike GT<br>
&gt; &gt;&gt; From: markdaley@westnet.com.au&gt; To: sap-wug@mit.edu&gt; Subject: Version<br>
&gt; &gt;&gt; question&gt; Date: Wed, 27 Feb 2008 15:59:09 &#43;0900&gt; &gt; Hi folks, I have<br>
&gt; &gt;&gt; existing instances of a Workflow in production that&gt; have a bug, ie when<br>
&gt; &gt;&gt; a deadline is reached the WF should terminate,&gt; but it does not.&gt; &gt; I<br>
&gt; &gt;&gt; know the problem and have corrected this bug in development by&gt; adding a<br>
&gt; &gt;&gt; process control step in the WF definition. &gt; &gt; Now my question is, is it<br>
&gt; &gt;&gt; possible to transport this change to&gt; production and have the existing<br>
&gt; &gt;&gt; workflow instances ‘adopt’ this&gt; change? When I transport to Test<br>
&gt; &gt;&gt; system, a new version is created and&gt; my changes are not picked up by<br>
&gt; &gt;&gt; the running instances (presumably WF&gt; creates a new version as there are<br>
&gt; &gt;&gt; already active instances).&gt; &gt; Is this just the way it is?&gt; &gt; &gt; &gt;<br>
&gt; &gt;&gt; _______________________________________________&gt; SAP-WUG mailing list&gt;<br>
&gt; &gt;&gt; SAP-WUG@mit.edu&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; &gt; _________________________________________________________________<br>
&gt; &gt; Who's friends with who and co-starred in what?<br>
&gt; &gt; http://www.searchgamesbox.com/celebrityseparation.shtml_______________________________________________<br>
&gt; &gt; SAP-WUG mailing list<br>
&gt; &gt; SAP-WUG@mit.edu<br>
&gt; &gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
&gt; &gt;<br>
&gt; <br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; SAP-WUG mailing list<br>
&gt; SAP-WUG@mit.edu<br>
&gt; http://mailman.mit.edu/mailman/listinfo/sap-wug<br>
<br>
<br>
<hr>
Sounds like? How many syllables? <a href="http://www.searchcharades.com" target="_blank">
Guess and win prizes with Search Charades!</a> </div>
</body>
</html>