<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Transformation Script in Templates not working NetXMS 3.2]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">ill try to get a transformation script in a template to work in NetXMS 3.2.<br />
The script is:</p>
<p dir="auto">sub main()<br />
{<br />
   return $1 / 1024 / 1024 / 1024;<br />
}</p>
<p dir="auto">The DCI is colleting Total drive sizes for all drives with FileSystem.Total({instance}), and i want them to be in GB.</p>
<p dir="auto">Every time I test the script I get the error attached. (Cannot execute script: Incompatible operation)</p>
<p dir="auto">If I use the same transformation directly on the node without Template it works.</p>
<p dir="auto">What am I doing wrong?</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005069-Error.jpg" alt="Error.jpg" class="img-markdown  img-fluid" width="376" height="152" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005071-General.jpg" alt="General.jpg" class="img-markdown  img-fluid" width="772" height="610" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005073-Transformation.jpg" alt="Transformation.jpg" class="img-markdown  img-fluid" width="770" height="613" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005075-Instance.jpg" alt="Instance.jpg" class="img-markdown  img-fluid" width="774" height="614" /></p>
]]></description><link>https://forum.netxms.org/topic/6435/transformation-script-in-templates-not-working-netxms-3.2</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:38:10 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6435.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 05 Mar 2020 14:17:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Transformation Script in Templates not working NetXMS 3.2 on Wed, 18 Mar 2020 06:32:41 GMT]]></title><description><![CDATA[<p dir="auto">Thank You.</p>
]]></description><link>https://forum.netxms.org/post/27575</link><guid isPermaLink="true">https://forum.netxms.org/post/27575</guid><dc:creator><![CDATA[stoffmann]]></dc:creator><pubDate>Wed, 18 Mar 2020 06:32:41 GMT</pubDate></item><item><title><![CDATA[Reply to Transformation Script in Templates not working NetXMS 3.2 on Fri, 06 Mar 2020 13:15:16 GMT]]></title><description><![CDATA[<p dir="auto">Test from template is actually not yet implemented, that's why the error. Apart from that your DCI should work, whether defined directly on a node, or in a template.</p>
]]></description><link>https://forum.netxms.org/post/27517</link><guid isPermaLink="true">https://forum.netxms.org/post/27517</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 06 Mar 2020 13:15:16 GMT</pubDate></item></channel></rss>