updateAttributesOnValueChange is true for rule chain templates

This commit is contained in:
Sergey Matvienko 2023-08-18 12:16:23 +02:00
parent 8da76e4b21
commit 1569ac6daf
4 changed files with 11 additions and 3 deletions

View File

@ -50,7 +50,9 @@
"debugMode": false,
"configuration": {
"scope": "CLIENT_SCOPE",
"notifyDevice": "false"
"notifyDevice": "false",
"sendAttributesUpdatedNotification": "false",
"updateAttributesOnValueChange": "true"
},
"externalId": null
},

View File

@ -33,7 +33,10 @@
"name": "Save Client Attributes",
"debugMode": false,
"configuration": {
"scope": "CLIENT_SCOPE"
"scope": "CLIENT_SCOPE",
"notifyDevice": "false",
"sendAttributesUpdatedNotification": "false",
"updateAttributesOnValueChange": "true"
}
},
{

View File

@ -33,7 +33,9 @@
"debugMode": false,
"configuration": {
"scope": "CLIENT_SCOPE",
"notifyDevice": "false"
"notifyDevice": "false",
"sendAttributesUpdatedNotification": "false",
"updateAttributesOnValueChange": "true"
}
},
{

View File

@ -34,6 +34,7 @@ public class TbMsgAttributesNodeConfiguration implements NodeConfiguration<TbMsg
configuration.setScope(DataConstants.SERVER_SCOPE);
configuration.setNotifyDevice(false);
configuration.setSendAttributesUpdatedNotification(false);
// backward compatibility for existing tenants, but rule chain templates will have the true value for new tenants
configuration.setUpdateAttributesOnValueChange(false);
return configuration;
}