Skip to main content

AF Element AF Element


AF Element UpdateAF-Element-Update


Inputs​

InputsTypeMandatoryDescription
ElementsArray of ElementsYOtherwise it's useless
NamestringYName of Element to Create
PathstringYPath to element parent
TemplatestringN
DescriptionstringN
SecurityStringstringN
CategoriesArray of stringsN
SecurityStringbooleanYIs security to be overwritten
CheckinLimitnumericN

Outputs​

OutputsTypeDescriptionExample
   payload
      array[1]array
         0objectobject
         NamestringName: ""Element1""
         TemplatestringTemplate: """"
         DescriptionstringDescription: ""I have Changed""
         PrimaryPathstringPrimaryPath: ""\DEV-AF1\NodeTestCaseSource\Element1""
         IDstringID: ""5f864599-de08-11eb-a8bd-000d3ad0107d""
         ActionstringAction: ""Synced""
            SecurityStringstringSecurityString: ""Administrators:A(r,w,rd,wd,d,x,a,s,so,an)

Example Input Payload​

msg.payload = {
"Elements": [
{
"Name": 'Element1',
"Path": "\\\\"+env.get("TestSystem") + "\\" + env.get("TestDatabase"),
"Description": "I have Changed"

}],
"SecurityString": true
}
return msg;

Example Flow​

[
{
"id": "6ad2c76f856be95c",
"type": "AF Element Update",
"z": "73566071f866aafa",
"name": "",
"x": 190,
"y": 380,
"wires": [
[]
]
}
]