<?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 Setting up a counter in XSOAR in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/568671#M2883</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;So we have a playbook that is meant to send alerts via email in strikes. In each strike there is a link to a survey that has only YES/NO answers and based on the answers given be the recipients of those emails we want the playbook to follow a path.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We thought that we might need a counter and timer for this specific task, for example, regarding the timer let's say I want to setup a 15 minutes timeframe, the first user to receive the email answers with no and after few minutes(within those 15minutes), 2 other users will answers with yes. I want those 2 yes answers to be taken in consideration and follow the path for closing the playbook and not going to the second strike email.&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 12:26:03 GMT</pubDate>
    <dc:creator>AVaduva11</dc:creator>
    <dc:date>2023-12-06T12:26:03Z</dc:date>
    <item>
      <title>Setting up a counter in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/568671#M2883</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;So we have a playbook that is meant to send alerts via email in strikes. In each strike there is a link to a survey that has only YES/NO answers and based on the answers given be the recipients of those emails we want the playbook to follow a path.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We thought that we might need a counter and timer for this specific task, for example, regarding the timer let's say I want to setup a 15 minutes timeframe, the first user to receive the email answers with no and after few minutes(within those 15minutes), 2 other users will answers with yes. I want those 2 yes answers to be taken in consideration and follow the path for closing the playbook and not going to the second strike email.&lt;/P&gt;
&lt;P&gt;Thank you so much!&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 12:26:03 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/568671#M2883</guid>
      <dc:creator>AVaduva11</dc:creator>
      <dc:date>2023-12-06T12:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a counter in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/569303#M2895</link>
      <description>&lt;P&gt;You could use a builtin loop, and have it update a counter on each go around, there is an example in video 12:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/tkb-p/Cortex_XSOAR_How_to_Videos" target="_blank"&gt;https://live.paloaltonetworks.com/t5/cortex-xsoar-how-to-videos/tkb-p/Cortex_XSOAR_How_to_Videos&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For your data collection task (assuming that's what you're using), you can specify to move on after receiving X number of replies AND/OR a given SLA.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'd just need a conditional to check the responses and if you got enough of them, and either set the condition to break the builtin loop, or to repeat it.&amp;nbsp; Just make sure to manage your context appropriately on each loop.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-12-11 at 8.51.46 AM.png" style="width: 590px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/55817i4A2F21637542A847/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-11 at 8.51.46 AM.png" alt="Screenshot 2023-12-11 at 8.51.46 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 15:54:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/569303#M2895</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-12-11T15:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting up a counter in XSOAR</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/569446#M2899</link>
      <description>&lt;P&gt;Thank you! I will try and let u know how it went&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 11:24:54 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/setting-up-a-counter-in-xsoar/m-p/569446#M2899</guid>
      <dc:creator>AVaduva11</dc:creator>
      <dc:date>2023-12-12T11:24:54Z</dc:date>
    </item>
  </channel>
</rss>

