Skip to main content

AF Attribute AF Attribute


AF Attribute DeleteAF-Attribute-Delete


Inputs​

InputsTypeMandatoryDescription
PISystemstringY
DatabasestringY
CheckinLimitintN
AttributeItemsarrayY
   TargetAttributePathstringYPath of the attribute to delete

Output​

OutputsTypeDescriptionExample
payloadarray
   NamestringName: ""Source1""
   PrimaryPathstringPrimaryPath: ""\DEV-AF1\NodeTestCaseSource\Element1
   ActionstringAction: ""Deleted""

Example Input Payload​

msg.payload = {
    "PISystem": env.get("TestSystem"),
    "Database": env.get("TestDatabase"),
    "AttributeItems": [
        {
            "TargetAttributePath": "\\\\" + env.get("TestSystem") + "\\" + env.get("TestDatabase") + "\\Element1|Source1"
        }
    ]
};
return msg;

Example Flow​

[
{
"id": "25abbb9970d91f21",
"type": "AF Attribute Delete",
"z": "fbcc6f6461481998",
"name": "",
"x": 150,
"y": 300,
"wires": [
[]
]
}
]