From 6f928c6f4bc0ab0fc323264018dd7589ba40bda0 Mon Sep 17 00:00:00 2001 From: Yuriy Lytvynchuk Date: Fri, 29 Jul 2022 11:29:19 +0300 Subject: [PATCH] add nodeDetails --- .../rule/engine/transform/TbCopyFromMdToMsgNode.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbCopyFromMdToMsgNode.java b/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbCopyFromMdToMsgNode.java index b01a99e50f..bb7e58a6ac 100644 --- a/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbCopyFromMdToMsgNode.java +++ b/rule-engine/rule-engine-components/src/main/java/org/thingsboard/rule/engine/transform/TbCopyFromMdToMsgNode.java @@ -39,8 +39,10 @@ import java.util.concurrent.ExecutionException; type = ComponentType.TRANSFORMATION, name = "copy from metadata to msg", configClazz = TbCopyFromMdToMsgNodeConfiguration.class, - nodeDescription = "Copies the message metadata keys to msg data with specified key names selected in the list", - nodeDetails = "", + nodeDescription = "Copies the msg metadata keys to msg data with specified key names selected in the list", + nodeDetails = "Will fetch fields values specified in list. If specified field is not part of msg metadata fields it will be ignored." + + "If the msg is not a JSON object returns the incoming message as outbound message with Failure chain, " + + "otherwise returns transformed messages via Success chain", uiResources = {"static/rulenode/rulenode-core-config.js"}, configDirective = "", icon = "functions"