<?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: Count and Wait loop in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9456#M3877</link>
    <description>&lt;P&gt;Thanks gary1... You gave me hope until I confirmed my datapill is indeed from step 4. It is almost as if the counting makes Workato forget where it is. I renamed the variable to 'mycount' in case 'count' was reserved but it made no difference.&lt;BR /&gt;And thanks to the others. It seemed a better idea to process a few records and then pause. I have used that approach before.&lt;BR /&gt;As background, this is for PlanRadar and I am processing 'tickets' to change their status. The filter is set by the user in the front-end, for example 'all tickets created before 31/12/2024 and not closed'.&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-28 090927.jpg" style="width: 605px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1955iB9F1A482AA515F60/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-28 090927.jpg" alt="Screenshot 2025-03-28 090927.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Mar 2025 09:21:48 GMT</pubDate>
    <dc:creator>simontl</dc:creator>
    <dc:date>2025-03-28T09:21:48Z</dc:date>
    <item>
      <title>Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9436#M3864</link>
      <description>&lt;P&gt;I want to have a loop with a counter causing a wait to stop a flood. In Step 4 i have tried changing the Clear Step Output to yes but it still sticks in the 'recordset' from Step 2 - so it processes record 1 3 times. The Google sheet simply shows me what is being processed. Can you help a newbie please?! Thanks.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="recipe.jpg" style="width: 707px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1952i538FF21C6431704C/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="recipe.jpg" alt="recipe.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 10:21:14 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9436#M3864</guid>
      <dc:creator>simontl</dc:creator>
      <dc:date>2025-03-27T10:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9439#M3867</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11659"&gt;@simontl&lt;/a&gt;,&lt;BR /&gt;Not sure what is the exact purpose of using a mycount variable.&lt;/P&gt;&lt;P&gt;What I understand is you want to wait for sometime before processing the next record.&lt;BR /&gt;Instead you can use &lt;STRONG&gt;Wait for specified length of time for each iteration&lt;/STRONG&gt;, before processing next record in the For Each.&lt;BR /&gt;Regards,&lt;BR /&gt;Prudvi&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 11:00:36 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9439#M3867</guid>
      <dc:creator>Prudvi</dc:creator>
      <dc:date>2025-03-27T11:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9446#M3871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11659"&gt;@simontl&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;1. I am just curious to know what is the filter condition you are using in the step.2?&amp;nbsp;&lt;BR /&gt;2. Does it mean you are getting same payload again and again from the step.2? if possible, can you add the screenshots&lt;BR /&gt;3. What are the updates you are doing at the step.5?&lt;BR /&gt;&lt;BR /&gt;Please kindly give your inputs so that we can provide you the suitable solutions.&lt;BR /&gt;&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Shivakumara K A&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 11:25:11 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9446#M3871</guid>
      <dc:creator>shivakumara</dc:creator>
      <dc:date>2025-03-27T11:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9450#M3874</link>
      <description>&lt;P&gt;Try something like this. This will pause after each item, after the third item. If you want to Stop after the third item, add a Stop instead of the pause. Hope this helps&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;Get HTTP List&lt;BR /&gt;Create Variable myCount&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;For each Item in HTTPList&lt;BR /&gt;Update gSheets with Item&lt;BR /&gt;Increment myCount&lt;BR /&gt;If myCount &amp;gt;=3&lt;BR /&gt;Pause (or Stop)&lt;BR /&gt;End If&lt;BR /&gt;Continue Loop&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 14:59:21 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9450#M3874</guid>
      <dc:creator>ansa</dc:creator>
      <dc:date>2025-03-27T14:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9451#M3875</link>
      <description>&lt;P&gt;Your description of the issue is a little confusing, but I think you're saying the HTTP action (step 5) keeps processing the same record over and over. This is probably because your input for step 5 is using output from step 2 when it should be using output from step 4.&lt;/P&gt;&lt;P&gt;When you create a loop action (step 4), the output of the loop action handles the iteration through your array.&lt;/P&gt;&lt;P&gt;If you use the output from step 2 within the loop, you'll access the same item/data every time (it will default to the first item in the array).&lt;/P&gt;&lt;P&gt;If you use the output from step 4, you'll get the iterated item and its data.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 15:44:31 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9451#M3875</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-03-27T15:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Count and Wait loop</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9456#M3877</link>
      <description>&lt;P&gt;Thanks gary1... You gave me hope until I confirmed my datapill is indeed from step 4. It is almost as if the counting makes Workato forget where it is. I renamed the variable to 'mycount' in case 'count' was reserved but it made no difference.&lt;BR /&gt;And thanks to the others. It seemed a better idea to process a few records and then pause. I have used that approach before.&lt;BR /&gt;As background, this is for PlanRadar and I am processing 'tickets' to change their status. The filter is set by the user in the front-end, for example 'all tickets created before 31/12/2024 and not closed'.&lt;BR /&gt;Thanks again.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-03-28 090927.jpg" style="width: 605px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/1955iB9F1A482AA515F60/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-03-28 090927.jpg" alt="Screenshot 2025-03-28 090927.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 09:21:48 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/count-and-wait-loop/m-p/9456#M3877</guid>
      <dc:creator>simontl</dc:creator>
      <dc:date>2025-03-28T09:21:48Z</dc:date>
    </item>
  </channel>
</rss>

