Fixes inprint details rule-engine nodes
This commit is contained in:
parent
7da95d3bfa
commit
618cbf1dad
@ -39,7 +39,7 @@ import org.thingsboard.server.common.msg.TbMsg;
|
|||||||
nodeDetails =
|
nodeDetails =
|
||||||
"Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" +
|
"Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" +
|
||||||
"Node output:\n" +
|
"Node output:\n" +
|
||||||
"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. " +
|
"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. " +
|
||||||
"Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " +
|
"Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " +
|
||||||
"Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.",
|
"Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.",
|
||||||
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
||||||
|
|||||||
@ -45,7 +45,7 @@ import java.util.List;
|
|||||||
nodeDetails =
|
nodeDetails =
|
||||||
"Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" +
|
"Details - JS function that creates JSON object based on incoming message. This object will be added into Alarm.details field.\n" +
|
||||||
"Node output:\n" +
|
"Node output:\n" +
|
||||||
"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'. " +
|
"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'. " +
|
||||||
"Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " +
|
"Message payload can be accessed via <code>msg</code> property. For example <code>'temperature = ' + msg.temperature ;</code>. " +
|
||||||
"Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.",
|
"Message metadata can be accessed via <code>metadata</code> property. For example <code>'name = ' + metadata.customerName;</code>.",
|
||||||
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
uiResources = {"static/rulenode/rulenode-core-config.js"},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user