AF Element
AF-Element-Create
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| payload | |||
| 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 |
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| payload | |||
| array[1] | array | ||
| 0 | object | object | |
| Name | string | Name: ""Element A"" | |
| Template | string | Template: """" | |
| Description | string | Description: """" | |
| PrimaryPath | string | PrimaryPath: ""\DEV-AF1\NodeTestCaseSource\Element A"" | |
| ID | string | ID: ""e0366580-9cb8-11ef-a993-000d3acafe05"" | |
| Action | string | Action: ""Created"" | |
| SecurityString | string | SecurityString: """" |
Example Input Payload
msg.payload = {
"Elements": [
{
"Name": 'Element1',
"Path": "\\\\"+env.get("TestSystem") + "\\" + env.get("TestDatabase")
}],
"SecurityString": true}
return msg;
Example Flow
[
{
"id": "5354221070d0c9f4",
"type": "AF Element Create",
"z": "73566071f866aafa",
"name": "",
"x": 190,
"y": 120,
"wires": [
[]
]
}
]