Value actions
Warning
This documentation is currently on writing progress
If the goal is to handle multiple selections, such as rows.selected in the collection table, the action will be triggered only once, with all the data.
The extraction of data from each row must be performed within a script to decapsulate the data.
CREATE_ALARM
timestamp: int : The timestamp of the alarm
severity: int | string : The severity of the alarm
summary: string : The summary of the alarm
location: string : The location of the alarm
source: string : The source of the alarm
serial: string : The serial of the alarm
tags: string[] : The tags of the alarm
additionalData: object : The additional data of the alarms
hideUntil: long : The timestamp until the alarm can be hidden
INSERT_ALARM
timestamp: int : The timestamp of the alarm
severity: int | string : The severity of the alarm
summary: string : The summary of the alarm
location: string : The location of the alarm
source: string : The source of the alarm
serial: string : The serial of the alarm
tags: string[] : The tags of the alarm
additionalData: object : The additional data of the alarms
hideUntil: long : The timestamp until the alarm can be hidden
ACKNOWLEDGE_ALARMS
alarmsIds: string[] : The ids of the alarms
UNACKNOWLEDGE_ALARMS
alarmsIds: string[] : The ids of the alarms
CLEAR_ALARMS
alarmsIds: string[] : The ids of the alarms
ESCALATE_ALARMS
alarmsIds: string[] : The ids of the alarms
severity: int | string : The severity of the alarms
LOCK_ALARMS_SEVERITY
alarmsIds: string[] : The ids of the alarms
severity: int | string : The severity of the alarms
UNLOCK_ALARMS_SEVERITY
alarmsIds: string[] : The ids of the alarms
TAG_ALARMS
alarmsIds: string[] : The ids of the alarms
tag: string : The tag of the alarms
UNTAG_ALARMS
alarmsIds: string[] : The ids of the alarms
tag: string : The tag of the alarms
ADD_JOURNAL
alarmsIds: string[] : The ids of the alarms
text: string : The text of the entry
user: string : The user creating the entry
EDIT_ALARM
alarmsIds: string[] : The ids of the alarms
summary: string: The new summary if null the field is not modified
location: string : The new location if null the field is not modified
source: string: The new source if null the field is not modified
hideUntil: long : The timestamp until the alarm can be hidden
additionalData: object : The additional data to replace or add if null the field is not modified
RUN_ACTION_RULE
actionRuleId: string : The id of the action rule to run
data: object : The data to pass to the rule. This is a map
delay: int : An optional delay in milliseconds
EXPORT_ALARMS
filename: string : The name of the file to write the exported alarms (location can be define on the module configuration)
from: int : The timestamp when the archive start
to: int : The timestamp when the archive end