Hi Mike,<br><br>Good to hear. That trick helped me just the other day when it made me realize I was looking at the wrong object instance.<br><br>Regards<br>Rick<br><br>On Friday, August 24, 2012, Mike Nickson &lt;<a href="mailto:mikenickson@gmail.com">mikenickson@gmail.com</a>&gt; wrote:<br>
&gt; Perfect, thanks Rick it wasn&#39;t recognising the document type for some reason but you have got me an answer.<br>&gt;  <br>&gt; Thanks<br>&gt;  <br>&gt; Mike<br>&gt;<br>&gt; On 23 August 2012 15:03, Rick Bakker &lt;<a href="mailto:rbakker@gmail.com">rbakker@gmail.com</a>&gt; wrote:<br>
&gt;<br>&gt; Mike,<br>&gt; Since you don&#39;t have a problem with changing the method, why not try the old trick of inserting<br>&gt; an infinite loop and then connecting to it to run it in debug (as Michael suggested).<br>
&gt; * Temporary, for debugging.<br>&gt; data: lv_tmp(1).<br>&gt; lv_tmp = &#39;X&#39;.<br>&gt; while lv_tmp eq &#39;X&#39;.<br>&gt; endwhile.<br>&gt; SM50, find the program (often WF-BATCH) choose debug (Program/Session &gt; Program &gt; Debugging) <br>
&gt; and change the value to get out of the loop.<br>&gt; NB: remember to remove the infinite loop later!<br>&gt; regards<br>&gt; Rick<br>&gt; On Thu, Aug 23, 2012 at 11:54 PM, &lt;<a href="mailto:michael.mcley@daimler.com">michael.mcley@daimler.com</a>&gt; wrote:<br>
&gt;<br>&gt; Mike,<br>&gt;<br>&gt; The only advice I can offer here (and the WUG can correct me if I&#39;m wrong) is that workflow instances seem to maintain a lot of contextual information relating to the status of all the objects (workflows, tasks, methods, etc...) that were active at the time the workflow was started.  Meaning in a lot of cases new changes will not be evident on old workflows.  <br>
&gt;<br>&gt; So just make sure you are starting a brand new workflow when you are testing a change.<br>&gt;<br>&gt; If this isn&#39;t relevant, I seem to remember there is a way to enter the debugger when you are testing a workflow.  But you have to change the task to foreground and click a couple of buttons in SWUS (maybe in the options dialog) after setting a breakpoint in the code.  Maybe someone else knows how to do this.<br>
&gt;<br>&gt; Michael McLey<br>&gt; MBUSI - IT Parts &amp; Administration<br>&gt; Mercedes-Benz US International, Inc.<br>&gt; 1 Mercedes Drive<br>&gt; Vance, AL 35490<br>&gt; PHONE:  (205) 462 - 5239<br>&gt; EMAIL:   <a href="mailto:michael.mcley@daimler.com">michael.mcley@daimler.com</a>  <br>
&gt;<br>&gt;<br>&gt; <a href="mailto:mikenickson@gmail.com">mikenickson@gmail.com</a><br>&gt; Sent by: <a href="mailto:sap-wug-bounces@mit.edu">sap-wug-bounces@mit.edu</a><br>&gt;<br>&gt; 08/23/2012 08:27 AM<br>&gt;<br>&gt; Please respond to<br>
&gt; <a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a><br>&gt; To<br>&gt; <a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>&gt; cc<br>&gt; Subject<br>&gt; Workflow not responding to latest version of the business object<br>
&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; I have amended a method on ZBUS2012 to exit on a certain document type (ZA) rather than perform the rest of the method code, saved and generated the object in the development client.<br>
&gt;  <br>&gt; I test the object in the other client and it works fine.<br>&gt;  <br>&gt; The workflow though seems to be hanging on to the o