<?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: Is there an easy way to continue the next item in a for each loop in the event of an error? in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9412#M3853</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11611"&gt;@PhilipMasters&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I hope you are doing well.&lt;/P&gt;&lt;P&gt;To ensure the remaining items are processed even after a failure occurs in the middle of the iteration, we need to place the &lt;STRONG&gt;Monitor - Catch block &lt;/STRONG&gt;after the&lt;STRONG&gt; For Each loop&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here’s a reference for your reference:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Monitor_catch block.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1948i38E28825756DC9A1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Monitor_catch block.png" alt="Monitor_catch block.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need further help.&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11321"&gt;@Prudvi&lt;/a&gt;&amp;nbsp;&amp;nbsp;provided&amp;nbsp;you the solution, I am adding image and note for your reference.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara K A&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 05:29:36 GMT</pubDate>
    <dc:creator>shivakumara</dc:creator>
    <dc:date>2025-03-26T05:29:36Z</dc:date>
    <item>
      <title>Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9394#M3847</link>
      <description>&lt;P&gt;So currently I have a for each loop iterating through a list of records in a Values array. The issue is if I have an array with 5 items and the third one fails (for instance a required field is missing) then the for each loop seems to stop and the final two items are not processed in the for each loop.&lt;/P&gt;&lt;P&gt;Is there an easy way to make it so that, if a record fails, the for each loop continues with the next record? I have tried using a Monitor branch however the only option I have is the DO NOT RETRY (that or retry multiple times) and this doesn't always seem to allow the for each loop to continue iterating.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:31:46 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9394#M3847</guid>
      <dc:creator>PhilipMasters</dc:creator>
      <dc:date>2025-03-25T10:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9395#M3848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11611"&gt;@PhilipMasters&lt;/a&gt;,&lt;BR /&gt;Could you try adding another Monitor Block where you are performing the Logic inside Repeat For, if it fails you can capture the error and Repeat For will process the next records in the list.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 11:49:23 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9395#M3848</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-03-25T11:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9398#M3849</link>
      <description>&lt;P&gt;Hi sorry, do you mean like this? Or an additional monitor block on top of this?&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 837px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1946i5B86C18319B143B8/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 988px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1947i85894E2F27CB0E68/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:09:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9398#M3849</guid>
      <dc:creator>PhilipMasters</dc:creator>
      <dc:date>2025-03-25T12:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9399#M3850</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11611"&gt;@PhilipMasters&lt;/a&gt;,&lt;BR /&gt;Cannot exactly say from the Image shared.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Trigger/Scheduler -&amp;gt; Monitor Block -&amp;gt; &lt;STRONG&gt;Repeat For -&amp;gt; Monitor Block1 -&amp;gt; Error Block1 End -&amp;gt; Repeat For End&lt;/STRONG&gt; -&amp;gt; Error Block End.&lt;BR /&gt;Would look something like above flow.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:14:47 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9399#M3850</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-03-25T12:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9409#M3851</link>
      <description>&lt;P&gt;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11611"&gt;@PhilipMasters&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Yes you can do it this way&lt;BR /&gt;you can write a logic inside the field which you want to map&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Formula Mode:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Datapill.present?&amp;nbsp; ? Datapill : "null value"&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;--&amp;gt; You can try this in the field which is mandatory. The above formula checks whether the given datapill has some value or not if it has value, it maps the datapill if not the field is filled with "null value" ... so the for-loop execution won't stop.&lt;BR /&gt;&lt;BR /&gt;Connect with me on LinkedIn:&amp;nbsp;&lt;A href="https://www.linkedin.com/in/bhagya-sri-58847123a/" target="_blank" rel="noopener"&gt;https://www.linkedin.com/in/bhagya-sri-58847123a/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 17:28:26 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9409#M3851</guid>
      <dc:creator>Bhagya_pola</dc:creator>
      <dc:date>2025-03-25T17:28:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an easy way to continue the next item in a for each loop in the event of an error?</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9412#M3853</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11611"&gt;@PhilipMasters&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;I hope you are doing well.&lt;/P&gt;&lt;P&gt;To ensure the remaining items are processed even after a failure occurs in the middle of the iteration, we need to place the &lt;STRONG&gt;Monitor - Catch block &lt;/STRONG&gt;after the&lt;STRONG&gt; For Each loop&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Here’s a reference for your reference:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Monitor_catch block.png" style="width: 999px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1948i38E28825756DC9A1/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Monitor_catch block.png" alt="Monitor_catch block.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need further help.&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11321"&gt;@Prudvi&lt;/a&gt;&amp;nbsp;&amp;nbsp;provided&amp;nbsp;you the solution, I am adding image and note for your reference.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara K A&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 05:29:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/is-there-an-easy-way-to-continue-the-next-item-in-a-for-each/m-p/9412#M3853</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-03-26T05:29:36Z</dc:date>
    </item>
  </channel>
</rss>

