AF Attribute
AF-Attribute-Write
Inputs
ElementPath string A valid path to the AFElement that the AFAttribute belongs to. Attribute string The exact name of an attribute belonging to the AFElementPath provided above. Value dynamic The value to be written to the AFAttribute. May be a string, double, etc. depending on the configuration of the AFAttribute itself. TimeStamp string A valid TimeStamp for the value to be written for. If absent, defaults to now.
Example Input
msg.payload =
{
"ElementPath": "\\\\DEV-AF1\\TestDatabase\\TestElement",
"Attribute": "TestAttribute",
"Value": "50.23"
};
return msg;