<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Broken process flow after node failure in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329833#M21932</link>
    <description>&lt;P&gt;You are welcome!&amp;nbsp; Yes, that is correct...&amp;nbsp; for existing projects (created in versions prior to 7.13), the option will be &lt;STRONG&gt;Continue execution&lt;/STRONG&gt;, so the previous behavior is preserved by default.&amp;nbsp; We didn't want to change the behavior of an existing project&amp;nbsp;unbeknownst to the user.&amp;nbsp; As you noted, new projects will default to &lt;STRONG&gt;Stop current branch&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Feb 2017 16:54:47 GMT</pubDate>
    <dc:creator>CaseySmith</dc:creator>
    <dc:date>2017-02-03T16:54:47Z</dc:date>
    <item>
      <title>Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328076#M21827</link>
      <description>&lt;P&gt;I cannot be the first person to ask this question, but my searching has not turned up any results. &amp;nbsp;I have run into the scenario a few times that a process flow becomes unusable, or very difficult to fix, after a fairly minor failure. &amp;nbsp;In this case, I have a somewhat complex process flow with a combination of task nodes and code nodes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After the failure of a node, the link from the node to the output is removed. &amp;nbsp;The subsequent node is then linked to the output, not to the node that created it. &amp;nbsp;When the issue is corrected, the process flow cannot be executed again because a node attempts to access data that has not yet been created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only method to avoid this I have found is frequent save points, but it very easy to forget.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In this screenshot the top is the working process flow. &amp;nbsp;The bottom is the result after a failure step 9. &amp;nbsp;When it is re-run, step 10 kicks off without the input dataset being created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/6951i449F8F0AFEBBE659/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="EG Process flow dependency.PNG" title="EG Process flow dependency.PNG" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EG 7.13 HF1 against SAS 9.4&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 17:37:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328076#M21827</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2017-01-27T17:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328128#M21828</link>
      <description>&lt;P&gt;This looks very much like an issue for SAS technical support. It could be a real bug.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 20:41:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328128#M21828</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-01-27T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328151#M21829</link>
      <description>Not sure if that's a bug, perhaps just lacking functionality. I have experienced the same behaviour. But if there's a trick tech support might be the ones to know about it. &lt;BR /&gt;Remember that EG is primarily an adhoc tool. If you want to develop more robust applications I suggest that you use other tools.</description>
      <pubDate>Fri, 27 Jan 2017 21:40:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/328151#M21829</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-27T21:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329401#M21904</link>
      <description>&lt;P&gt;I tend to agree with you&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;, but it is being pushed more and more as a development tool, and we all know how easy it is for something to start adhoc, and turn into something more.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have had some success with linking directly between the "work" nodes instead of linking from an output to the next node. &amp;nbsp;Unfortunately, that is not default behavior, making it quite tedious.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is another situation where it would be helpful to have a process flow stop in its tracks on a failure. &amp;nbsp;That is currently also tedious to implement.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Feb 2017 12:40:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329401#M21904</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2017-02-02T12:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329791#M21930</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/24184"&gt;@RyanK&lt;/a&gt; wrote:&lt;BR /&gt;This is another situation where it would be helpful to have a process flow stop in its tracks on a failure. &amp;nbsp;That is currently also tedious to implement.&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We added a feature in EG 7.13, which does exactly this.&amp;nbsp; You can now control the action EG takes when an error occurs during execution.&amp;nbsp; You can set the option ("Action to take on errors during execution") for the whole project via File-&amp;gt;Project Properties-&amp;gt;Code Submission.&amp;nbsp; Or you can override it individually on each node, by right-clicking the node, selecting Properties, Code Submission.&amp;nbsp; The default option value is &lt;STRONG&gt;Stop current branch&lt;/STRONG&gt;.&amp;nbsp; The pre-7.13 behavior was to continue execution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a screenshot of the option and the three choices.&lt;/P&gt;
&lt;P&gt;&lt;IMG title="screenshotActionOnError.png" alt="screenshotActionOnError.png" src="https://communities.sas.com/t5/image/serverpage/image-id/7088iA0622D06465FDD3E/image-size/original?v=1.0&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The Query Builder&amp;nbsp;node with the error (ex. a Query Builder) will still break its link, since the process flow attempts to reflect the results of the most recent run.&amp;nbsp; However, at least all subsequent nodes are halted, limiting downstream break-up.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note 2: Turning off Auto Arrange on the process flow (by right-clicking inside the process flow and toggling Auto Arrange) will help preserve the process flow layout when links are unintentionally broken.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 14:09:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329791#M21930</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-02-03T14:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329813#M21931</link>
      <description>&lt;P&gt;Thanks the tips! &amp;nbsp;I will certainly try these out. &amp;nbsp;When I looked at my project settings, I found that the code submission action was set to "Continue execution". &amp;nbsp;I do not recall ever seeing that setting before, but the project was initially created in EG 7.100. &amp;nbsp;Perhaps that setting persisted from the prior version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I created a new project in 7.13, it did default to "Stop current brach".&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 15:28:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329813#M21931</guid>
      <dc:creator>RyanK</dc:creator>
      <dc:date>2017-02-03T15:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: Broken process flow after node failure</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329833#M21932</link>
      <description>&lt;P&gt;You are welcome!&amp;nbsp; Yes, that is correct...&amp;nbsp; for existing projects (created in versions prior to 7.13), the option will be &lt;STRONG&gt;Continue execution&lt;/STRONG&gt;, so the previous behavior is preserved by default.&amp;nbsp; We didn't want to change the behavior of an existing project&amp;nbsp;unbeknownst to the user.&amp;nbsp; As you noted, new projects will default to &lt;STRONG&gt;Stop current branch&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2017 16:54:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Broken-process-flow-after-node-failure/m-p/329833#M21932</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2017-02-03T16:54:47Z</dc:date>
    </item>
  </channel>
</rss>

