<?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: Appending Incident field from a script in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/appending-incident-field-from-a-script/m-p/525722#M1590</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/224738"&gt;@oDarweesh2&lt;/a&gt;! I see that you mention that the incident field is a type array, could you confirm if it is a multi-select array and to dynamically add? &lt;BR /&gt;&lt;BR /&gt;So, &lt;STRONG&gt;setIncident&lt;/STRONG&gt; has an argument called &lt;STRONG&gt;appendMultiSelect&lt;/STRONG&gt; and when you set that to &lt;STRONG&gt;true&lt;/STRONG&gt; (appendMultiSelect=true), with this it will allow you to be able to append more values to the incident field name. The caveat is that the incident field needs to be the &lt;STRONG&gt;Field Type&lt;/STRONG&gt; of &lt;STRONG&gt;Multi select/Array&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the war room, it would look like &lt;STRONG&gt;!setIncident appendMultiSelect=True field_value=someurlblocked&lt;/STRONG&gt;, where field_value is a multi-select array&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jan 2023 19:26:43 GMT</pubDate>
    <dc:creator>jqamruddin</dc:creator>
    <dc:date>2023-01-03T19:26:43Z</dc:date>
    <item>
      <title>Appending Incident field from a script</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/appending-incident-field-from-a-script/m-p/525356#M1577</link>
      <description>&lt;P&gt;Dears,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am blocking urls on a security control then save the value of URL in incident field name (blocked urls) using setIncident command,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But every time I block new url the incident field is not appending the new url to the old url. It replace the old value with the new value.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kindly need your suggestion for how to append the value in incident field.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: The incident field is array type.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 12:17:52 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/appending-incident-field-from-a-script/m-p/525356#M1577</guid>
      <dc:creator>oDarweesh2</dc:creator>
      <dc:date>2022-12-28T12:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Appending Incident field from a script</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/appending-incident-field-from-a-script/m-p/525722#M1590</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/224738"&gt;@oDarweesh2&lt;/a&gt;! I see that you mention that the incident field is a type array, could you confirm if it is a multi-select array and to dynamically add? &lt;BR /&gt;&lt;BR /&gt;So, &lt;STRONG&gt;setIncident&lt;/STRONG&gt; has an argument called &lt;STRONG&gt;appendMultiSelect&lt;/STRONG&gt; and when you set that to &lt;STRONG&gt;true&lt;/STRONG&gt; (appendMultiSelect=true), with this it will allow you to be able to append more values to the incident field name. The caveat is that the incident field needs to be the &lt;STRONG&gt;Field Type&lt;/STRONG&gt; of &lt;STRONG&gt;Multi select/Array&lt;/STRONG&gt;.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the war room, it would look like &lt;STRONG&gt;!setIncident appendMultiSelect=True field_value=someurlblocked&lt;/STRONG&gt;, where field_value is a multi-select array&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 19:26:43 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/appending-incident-field-from-a-script/m-p/525722#M1590</guid>
      <dc:creator>jqamruddin</dc:creator>
      <dc:date>2023-01-03T19:26:43Z</dc:date>
    </item>
  </channel>
</rss>

