<?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>question Re: setWorkFlow(false) in flow designer in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418887#M75813</link>
    <description>&lt;P&gt;Hi &lt;SPAN class="ng-binding"&gt;Chinmayee Mishra&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;setWorkflow(false) actually already prevents Flows from running. This funstion "setWorkflow(false)" is not intended only for Business Rules.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;regards,&lt;BR /&gt;Jagmeet&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jan 2022 06:44:56 GMT</pubDate>
    <dc:creator>Jagmeet Singh</dc:creator>
    <dc:date>2022-01-28T06:44:56Z</dc:date>
    <item>
      <title>setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418884#M75810</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a use case, where if an user with role x_mgr cancels one catalog task , all the task in the related ritm should be cancelled. requirement is to do it using flow designer. Lets say Its my flow_1. There is already a catalog item flow is designed to create task2 upon closure of task1. task3 upon closure of task4 and so on. Lets say flow_2.&lt;/P&gt;
&lt;P&gt;So even though my flow_1 is all in place , Its not able to cancel all the tasks in the ritm. because of flow_2. So I end up still having open tasks. &lt;STRONG&gt;How do I stop running flow_2 from flow_1&lt;/STRONG&gt; ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Chinmayee Mishra&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jan 2022 20:17:44 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418884#M75810</guid>
      <dc:creator>Chinmayee Mishr</dc:creator>
      <dc:date>2022-01-27T20:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418885#M75811</link>
      <description>&lt;P&gt;For this specific require.ment why not do all in 1 flow? instead of having multiple flows.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:02:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418885#M75811</guid>
      <dc:creator>Sumit Pandey1</dc:creator>
      <dc:date>2022-01-28T06:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418886#M75812</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;can you share the flow screenshots?&lt;/P&gt;
&lt;P&gt;Regards&lt;BR /&gt;Ankur&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:30:12 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418886#M75812</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2022-01-28T06:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418887#M75813</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="ng-binding"&gt;Chinmayee Mishra&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;setWorkflow(false) actually already prevents Flows from running. This funstion "setWorkflow(false)" is not intended only for Business Rules.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;
&lt;P&gt;regards,&lt;BR /&gt;Jagmeet&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 06:44:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418887#M75813</guid>
      <dc:creator>Jagmeet Singh</dc:creator>
      <dc:date>2022-01-28T06:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418888#M75814</link>
      <description>&lt;P&gt;I located the respective flow context and cancelled that flow context. It worked. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 18:22:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418888#M75814</guid>
      <dc:creator>Chinmayee Mishr</dc:creator>
      <dc:date>2022-03-10T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: setWorkFlow(false) in flow designer</title>
      <link>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418889#M75815</link>
      <description>&lt;P&gt;Hi &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="4bdc3a1ddb9a9f40032a7a9e0f9619dc"&gt;@Chinmayee Mishra&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I too have the same requirement, and I created a action and in action I tried cancelling the flow context but it does'nt work for me. could you share the solution/code/action screen shot.&lt;/P&gt;
&lt;P&gt;below is the code i used in action.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/154538i9F2ECE126CC6B09D/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/154538i9F2ECE126CC6B09D/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;DIV class="hoverCardContainer lb-width ng-isolate-scope"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Apr 2022 12:51:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/setworkflow-false-in-flow-designer/m-p/1418889#M75815</guid>
      <dc:creator>kowsalya</dc:creator>
      <dc:date>2022-04-25T12:51:07Z</dc:date>
    </item>
  </channel>
</rss>

