Commit 170ef055e81b6c7fbfad8b35b0a0b280183edc85
Committed by
GitHub
Merge pull request #3104 from vvlladd28/nugs/translate-rule-node
[3.0] Fixes inprint details rule-engine nodes
Showing
2 changed files
with
2 additions
and
2 deletions
... | ... | @@ -39,7 +39,7 @@ import org.thingsboard.server.common.msg.TbMsg; |
39 | 39 | nodeDetails = |
40 | 40 | "Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" + |
41 | 41 | "Node output:\n" + |
42 | - "If alarm was not cleared, original message is returned. Otherwise new Message returned with type 'ALARM', Alarm object in 'msg' property and 'matadata' will contains 'isClearedAlarm' property. " + | |
42 | + "If alarm was not cleared, original message is returned. Otherwise new Message returned with type 'ALARM', Alarm object in 'msg' property and 'metadata' will contains 'isClearedAlarm' property. " + | |
43 | 43 | "Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " + |
44 | 44 | "Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.", |
45 | 45 | uiResources = {"static/rulenode/rulenode-core-config.js"}, | ... | ... |
... | ... | @@ -45,7 +45,7 @@ import java.util.List; |
45 | 45 | nodeDetails = |
46 | 46 | "Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" + |
47 | 47 | "Node output:\n" + |
48 | - "If alarm was not created, original message is returned. Otherwise new Message returned with type 'ALARM', Alarm object in 'msg' property and 'matadata' will contains one of those properties 'isNewAlarm/isExistingAlarm'. " + | |
48 | + "If alarm was not created, original message is returned. Otherwise new Message returned with type 'ALARM', Alarm object in 'msg' property and 'metadata' will contains one of those properties 'isNewAlarm/isExistingAlarm'. " + | |
49 | 49 | "Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " + |
50 | 50 | "Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.", |
51 | 51 | uiResources = {"static/rulenode/rulenode-core-config.js"}, | ... | ... |