<?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[nxsl: function to get object of an event]]></title><description><![CDATA[<p dir="auto">I didn't find a way to get object of an Event and, consequently, parameters of an Event from a script that does not inherit reference $event (e.g. running from scheduler). I can get object of an Alarm and then get id of origin Event among attributes of the Alarm, but it's no nxsl's function to get object of the Event neither by id nor somehow else.</p>
<p dir="auto">Is this because of security rules or it can be implemented?</p>
<p dir="auto">So far I have to use Persistent Storage to save parameters from an Event and to get them from a script later. This way is not very convenient.</p>
]]></description><link>https://forum.netxms.org/topic/6380/nxsl-function-to-get-object-of-an-event</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:07:42 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6380.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jan 2020 06:34:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to nxsl: function to get object of an event on Fri, 31 Jan 2020 12:00:29 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, Victor! It is great!</p>
]]></description><link>https://forum.netxms.org/post/27318</link><guid isPermaLink="true">https://forum.netxms.org/post/27318</guid><dc:creator><![CDATA[wizard]]></dc:creator><pubDate>Fri, 31 Jan 2020 12:00:29 GMT</pubDate></item><item><title><![CDATA[Reply to nxsl: function to get object of an event on Thu, 30 Jan 2020 15:16:45 GMT]]></title><description><![CDATA[<p dir="auto">You can load event from database using function LoadEvent. It accepts single argument - event ID, and returns event object.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/27314</link><guid isPermaLink="true">https://forum.netxms.org/post/27314</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 30 Jan 2020 15:16:45 GMT</pubDate></item></channel></rss>