<?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: Flow Designer / Do the Following Until in Product Launch forum</title>
    <link>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428398#M5255</link>
    <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1003310"&gt;@abdelkadergh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my thoughts&lt;/P&gt;
&lt;TABLE width="614"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="184"&gt;Best Practice&lt;/TD&gt;
&lt;TD width="430"&gt;Description&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Define Clear Exit Conditions&lt;/TD&gt;
&lt;TD&gt;Set a specific, achievable condition to exit the loop.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Limit Iterations&lt;/TD&gt;
&lt;TD&gt;Ensure the loop does not exceed the default max (usually1000 iterations).&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Use Wait Actions Wisely&lt;/TD&gt;
&lt;TD&gt;Set reasonable wait durations and attempt limits for "Wait" actions.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Monitor and Log Progress&lt;/TD&gt;
&lt;TD&gt;Add logging to track loop progress and aid debugging.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Use Exit and Skip Loop Actions&lt;/TD&gt;
&lt;TD&gt;Exit or skip loop iterations using dedicated actions.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Avoid Recursive/Nested Loops&lt;/TD&gt;
&lt;TD&gt;Refactor logic to avoid nested or recursive loops.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Prevent Unintended Triggers&lt;/TD&gt;
&lt;TD&gt;Ensure the flow does not trigger itself or cycle with other flows.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Optimize Data Access&lt;/TD&gt;
&lt;TD&gt;Use GlideAggregate or limits for efficient data queries in loops.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;sharing links for references&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/muhammad-faizan-shahid-8b7548219_servicenow-flowdesigner-datastream-activity-7330664606878593024-goda/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/posts/muhammad-faizan-shahid-8b7548219_servicenow-flowdesigner-datastream-activity-7330664606878593024-goda/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-blog/exit-and-skip-loop-in-flow-designer/ba-p/2977968" target="_blank" rel="noopener"&gt;Exit and Skip Loop in Flow Designer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/concept/flow-logic-do-until.html" target="_blank" rel="noopener"&gt;Do the following until flow logic&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 11:02:10 GMT</pubDate>
    <dc:creator>Ankur Bawiskar</dc:creator>
    <dc:date>2025-11-17T11:02:10Z</dc:date>
    <item>
      <title>Flow Designer / Do the Following Until</title>
      <link>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428335#M5246</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I’m trying to loop a series of actions until a record meets certain criteria. What are some best practices for using “Do the Following Until” to avoid infinite loops and ensure performance remains stable?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 09:56:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428335#M5246</guid>
      <dc:creator>abdelkadergh</dc:creator>
      <dc:date>2025-11-17T09:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flow Designer / Do the Following Until</title>
      <link>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428356#M5248</link>
      <description>&lt;P&gt;Hey Abdel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like To avoid infinite loops in “Do the Following Until”, make sure you define an exit condition that will actually be met, add a max-iteration safeguard counter, and avoid heavy actions inside the loop. Use delays when polling for changes, Also prefer “Wait for Condition” when possible, and log loop activity.&lt;/P&gt;&lt;P&gt;These above steps is quite ensure your Flow Designer loops remain safe and performant.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you find my answer is helpful, Please mark the solution as helpful&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 10:17:01 GMT</pubDate>
      <guid>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428356#M5248</guid>
      <dc:creator>Srinidhik</dc:creator>
      <dc:date>2025-11-17T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flow Designer / Do the Following Until</title>
      <link>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428398#M5255</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1003310"&gt;@abdelkadergh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;my thoughts&lt;/P&gt;
&lt;TABLE width="614"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="184"&gt;Best Practice&lt;/TD&gt;
&lt;TD width="430"&gt;Description&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Define Clear Exit Conditions&lt;/TD&gt;
&lt;TD&gt;Set a specific, achievable condition to exit the loop.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Limit Iterations&lt;/TD&gt;
&lt;TD&gt;Ensure the loop does not exceed the default max (usually1000 iterations).&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Use Wait Actions Wisely&lt;/TD&gt;
&lt;TD&gt;Set reasonable wait durations and attempt limits for "Wait" actions.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Monitor and Log Progress&lt;/TD&gt;
&lt;TD&gt;Add logging to track loop progress and aid debugging.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Use Exit and Skip Loop Actions&lt;/TD&gt;
&lt;TD&gt;Exit or skip loop iterations using dedicated actions.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Avoid Recursive/Nested Loops&lt;/TD&gt;
&lt;TD&gt;Refactor logic to avoid nested or recursive loops.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Prevent Unintended Triggers&lt;/TD&gt;
&lt;TD&gt;Ensure the flow does not trigger itself or cycle with other flows.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Optimize Data Access&lt;/TD&gt;
&lt;TD&gt;Use GlideAggregate or limits for efficient data queries in loops.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;sharing links for references&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/muhammad-faizan-shahid-8b7548219_servicenow-flowdesigner-datastream-activity-7330664606878593024-goda/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/posts/muhammad-faizan-shahid-8b7548219_servicenow-flowdesigner-datastream-activity-7330664606878593024-goda/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-blog/exit-and-skip-loop-in-flow-designer/ba-p/2977968" target="_blank" rel="noopener"&gt;Exit and Skip Loop in Flow Designer&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/docs/bundle/zurich-build-workflows/page/administer/flow-designer/concept/flow-logic-do-until.html" target="_blank" rel="noopener"&gt;Do the following until flow logic&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 11:02:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/product-launch-forum/flow-designer-do-the-following-until/m-p/3428398#M5255</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-11-17T11:02:10Z</dc:date>
    </item>
  </channel>
</rss>

