<?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: Syntax to abort Command in WFA in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/90481#M16997</link>
    <description>&lt;P&gt;Where does one actually go withing hte interface to issue the return statement once the workflow is executing? &amp;nbsp; I am stuck in an "aborting" state for several workflows with no apparted option to clear this. &amp;nbsp; There are no reserveations remaining related to these workflows to release. &amp;nbsp; Just stuck. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2014 20:53:33 GMT</pubDate>
    <dc:creator>edgel</dc:creator>
    <dc:date>2014-10-01T20:53:33Z</dc:date>
    <item>
      <title>Syntax to abort Command in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/5845#M1287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I abort a WFA command under certain circumstances? Is the following correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;# If Snapmirror Relation exists abort&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;$SnapMirrorStatus = Get-NaSnapmirror $SourceVolumeName&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;if ($SnapMirrorStatus)&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;{&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get-WFALogger -Info -message $("Snapmirror Relation " + $SnapMirrorStatus + " already exists")&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: sans-serif; font-size: 10pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:21:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/5845#M1287</guid>
      <dc:creator>skellner</dc:creator>
      <dc:date>2025-06-05T06:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to abort Command in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/5848#M1289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on what you are trying to achieve.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;if you would like to abort current command and continue to the next one - just use "return" statement - as a result workflow will be "green" and it will continue to the next command&lt;/LI&gt;&lt;LI&gt;if you would like to abort current command and workflow - just throw an exception (throw "user created message") - as a result workflow will be "red" and you will see "user created message" in error box of monitoring screen&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sasha Korman&lt;/P&gt;&lt;P&gt;WFA Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Aug 2012 06:53:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/5848#M1289</guid>
      <dc:creator>korman</dc:creator>
      <dc:date>2012-08-12T06:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: Syntax to abort Command in WFA</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/90481#M16997</link>
      <description>&lt;P&gt;Where does one actually go withing hte interface to issue the return statement once the workflow is executing? &amp;nbsp; I am stuck in an "aborting" state for several workflows with no apparted option to clear this. &amp;nbsp; There are no reserveations remaining related to these workflows to release. &amp;nbsp; Just stuck. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 20:53:33 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Syntax-to-abort-Command-in-WFA/m-p/90481#M16997</guid>
      <dc:creator>edgel</dc:creator>
      <dc:date>2014-10-01T20:53:33Z</dc:date>
    </item>
  </channel>
</rss>

