<?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: Result empty after using json2html script in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243983#M4213</link>
    <description>&lt;P&gt;The documentation on this script is non-existent.&amp;nbsp; You can't just pass it context key.&amp;nbsp; Stringify the json and pass that.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 09:58:53 GMT</pubDate>
    <dc:creator>J.English</dc:creator>
    <dc:date>2025-12-16T09:58:53Z</dc:date>
    <item>
      <title>Result empty after using json2html script</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243802#M4211</link>
      <description>&lt;P&gt;I found the issue after using script json2html table to convert json array to HTML table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it's return to empty vaule.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any idea?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 12:54:59 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243802#M4211</guid>
      <dc:creator>SakkarinP</dc:creator>
      <dc:date>2025-12-12T12:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Result empty after using json2html script</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243983#M4213</link>
      <description>&lt;P&gt;The documentation on this script is non-existent.&amp;nbsp; You can't just pass it context key.&amp;nbsp; Stringify the json and pass that.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 09:58:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243983#M4213</guid>
      <dc:creator>J.English</dc:creator>
      <dc:date>2025-12-16T09:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Result empty after using json2html script</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243988#M4215</link>
      <description>&lt;P&gt;I did resolved by fixed the script with addition one line of code, after that just run in the playbook with json array input.&lt;/P&gt;
&lt;P&gt;The result return correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;fixed by in fuction :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;def get_json_from_string(value: Any) -&amp;gt; dict | str | None:&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;# FIX: If value is already a list or dict, return it immediately.&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;if isinstance(value, (list, dict)):&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;return value&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 Dec 2025 11:08:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/result-empty-after-using-json2html-script/m-p/1243988#M4215</guid>
      <dc:creator>SakkarinP</dc:creator>
      <dc:date>2025-12-16T11:08:41Z</dc:date>
    </item>
  </channel>
</rss>

