Actions41
- Alarm Actions
- Alarm Category Actions
- Data Collection Actions
- Event Template Actions
- Find Actions
- Object Actions
- Scheduled Task Actions
- Server Actions
- User Actions
Event Template → Update
AI-generatedSummary
Updates an existing NetXMS event template identified by its event code, sending only the fields you set via a PUT request to /v1/event-templates/{eventCode}.
Inputs
- Event Code (required) — Numeric event code of the template to update; used in the request path.
- Update Fields — Collection of optional fields to change, sent as the PUT body exactly as set. Options: Name (new name), Description, Message (template text), Severity (Normal=0, Warning=1, Minor=2, Major=3, Critical=4), Flags (bitmask number, default 1), Tags (comma-separated string, passed through as a string).
Output shape
One item per input item containing the JSON response returned by the NetXMS server for the update (typically the updated event template).
The exact response shape depends on the NetXMS REST API; the node returns it unmodified. Only fields added to Update Fields are sent; there is no client-side filtering or validation. If Continue On Fail is enabled, failures return an item with an error message instead of stopping the workflow. The node logs in to NetXMS on each execution using the configured credentials.
Examples
Example 1: Raise the default severity of a custom event to Critical
Event Code = 100001; Update Fields: Severity = Critical
Example 2: Rename a template and refresh its message text
Event Code = 100005; Update Fields: Name = DISK_FULL_CUSTOM, Message = Disk full on %1