<?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 How to read only one batch from AWS SQS New Messages(batch) trigger in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5450#M2403</link>
    <description>&lt;P&gt;Hello Pros!&lt;/P&gt;&lt;P&gt;We have a scenario to read messages from AWS SQS and having a challenge to read only one batch at a time.&lt;BR /&gt;Example: We have 10k messages in SQS, workato trigger(AWS SQS New Message(batch)) reads the messages in max of 2k batches but as soon as it finds 10k, it's reading all 10k in 2k batches to create 5 jobs queued up in our recipe.&lt;BR /&gt;Requirement: We want to only read one batch even if there are more than 2k messages and only after processing the batch read another batch.&lt;BR /&gt;Can someone guide us on how to handle this?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 08:06:53 GMT</pubDate>
    <dc:creator>nikhilb</dc:creator>
    <dc:date>2023-10-19T08:06:53Z</dc:date>
    <item>
      <title>How to read only one batch from AWS SQS New Messages(batch) trigger</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5450#M2403</link>
      <description>&lt;P&gt;Hello Pros!&lt;/P&gt;&lt;P&gt;We have a scenario to read messages from AWS SQS and having a challenge to read only one batch at a time.&lt;BR /&gt;Example: We have 10k messages in SQS, workato trigger(AWS SQS New Message(batch)) reads the messages in max of 2k batches but as soon as it finds 10k, it's reading all 10k in 2k batches to create 5 jobs queued up in our recipe.&lt;BR /&gt;Requirement: We want to only read one batch even if there are more than 2k messages and only after processing the batch read another batch.&lt;BR /&gt;Can someone guide us on how to handle this?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 08:06:53 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5450#M2403</guid>
      <dc:creator>nikhilb</dc:creator>
      <dc:date>2023-10-19T08:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to read only one batch from AWS SQS New Messages(batch) trigger</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5540#M2442</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;Can you confirm if you're looking to process the batch one at a time?&lt;/P&gt;&lt;P&gt;Typically, if you have a batch trigger, once you start the recipe, it should generate the jobs based on the batch size set in your trigger but it should process the jobs one at a time.&lt;/P&gt;&lt;P&gt;Can you confirm if you have access to Recipe Concurrency?&amp;nbsp;&lt;A href="https://docs.workato.com/recipes/settings.html#concurrency" target="_blank"&gt;https://docs.workato.com/recipes/settings.html#concurrency&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If so, can you confirm if the recipe concurrency is set to 1?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2023 22:36:44 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5540#M2442</guid>
      <dc:creator>gibson-cabello</dc:creator>
      <dc:date>2023-11-01T22:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to read only one batch from AWS SQS New Messages(batch) trigger</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5585#M2462</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for the response!&lt;BR /&gt;We're using SQS New Messages trigger and Concurrency set to 1. Like I mentioned, this works fine when we have less than 2k messages to read.&lt;BR /&gt;But when the messages are more than the batch size, the trigger automatically reads all the messages(even if there are 100k) and creates jobs( 50 jobs for 100k events). These jobs will not be in 'Processing' state but just in 'queue to be processed'.&lt;BR /&gt;We are trying to avoid queuing of 'Jobs' and only create new jobs when the processing one is complete.&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 12:01:48 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/how-to-read-only-one-batch-from-aws-sqs-new-messages-batch/m-p/5585#M2462</guid>
      <dc:creator>nikhilb</dc:creator>
      <dc:date>2023-11-08T12:01:48Z</dc:date>
    </item>
  </channel>
</rss>

