AF Element
AF-Element-Update
Inputs
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| Elements | Array of Elements | Y | Otherwise it's useless |
| Name | string | Y | Name of Element to Create |
| Path | string | Y | Path to element parent |
| Template | string | N | |
| Description | string | N | |
| SecurityString | string | N | |
| Categories | Array of strings | N | |
| SecurityString | boolean | Y | Is security to be overwritten |
| CheckinLimit | numeric | N |
Outputs
| Outputs | Type | Description | Example |
|---|---|---|---|
| payload | |||
| array[1] | array | ||
| 0 | object | object | |
| Name | string | Name: ""Element1"" | |
| Template | string | Template: """" | |
| Description | string | Description: ""I have Changed"" | |
| PrimaryPath | string | PrimaryPath: ""\DEV-AF1\NodeTestCaseSource\Element1"" | |
| ID | string | ID: ""5f864599-de08-11eb-a8bd-000d3ad0107d"" | |
| Action | string | Action: ""Synced"" | |
| SecurityString | string | SecurityString: ""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": [
[]
]
}
]