<?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: Recurrent data input problems in tasks in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527129#M1634</link>
    <description>&lt;P&gt;Hello Michael, thanks for your help.&lt;/P&gt;
&lt;P&gt;So the idea is to create a small script to check which variable is defined and give a new output.&lt;/P&gt;
&lt;P&gt;Nice idea! I'll take a look at "ContextFilter", to see how it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 07:27:26 GMT</pubDate>
    <dc:creator>Josep</dc:creator>
    <dc:date>2023-01-16T07:27:26Z</dc:date>
    <item>
      <title>Recurrent data input problems in tasks</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527070#M1632</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Data key received from API calls don't always have the same format in the context. Example:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;Sometimes it could be:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-120px"&gt;data.[0].results.username&lt;/P&gt;
&lt;P class="lia-indent-padding-left-120px"&gt;data.results.[0].username&lt;/P&gt;
&lt;P class="lia-indent-padding-left-120px"&gt;data.[0].results.[0].username&lt;/P&gt;
&lt;P class="lia-indent-padding-left-120px"&gt;data.results.username&lt;/P&gt;
&lt;P&gt;The API call is the one creating these formats in the context. There's no possibility to change the call.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How can the input for the task be modified to accept all format possibilities?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2023 12:11:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527070#M1632</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-01-15T12:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Recurrent data input problems in tasks</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527073#M1633</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;To be honest it very much depends on how and where you want to use the data. There are quite a few options for dealing with context data dynamically such as "ContextFilter" :&lt;/P&gt;
&lt;P&gt;Explanation -&amp;nbsp;&lt;SPAN&gt;Filter context keys by applying one of the various available manipulations and storing in a new context key. Please notice that the resulting context key will not be available automatically as an option but you can still specify it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class=""&gt;&lt;SPAN&gt;From experience however I would recommend to write a custom automation script that will dynamically interact and sort the data from the key "data". This way you can see exactly what you mare working with and provide Attestation for each stage of further interaction. In any case please elaborate on what you plan on doing with the data you have received, perhaps others would be able to provide a more direct solution.&amp;nbsp;&lt;/SPAN&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sun, 15 Jan 2023 14:32:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527073#M1633</guid>
      <dc:creator>michaelsysec242</dc:creator>
      <dc:date>2023-01-15T14:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Recurrent data input problems in tasks</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527129#M1634</link>
      <description>&lt;P&gt;Hello Michael, thanks for your help.&lt;/P&gt;
&lt;P&gt;So the idea is to create a small script to check which variable is defined and give a new output.&lt;/P&gt;
&lt;P&gt;Nice idea! I'll take a look at "ContextFilter", to see how it works.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 07:27:26 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/recurrent-data-input-problems-in-tasks/m-p/527129#M1634</guid>
      <dc:creator>Josep</dc:creator>
      <dc:date>2023-01-16T07:27:26Z</dc:date>
    </item>
  </channel>
</rss>

