AF Element
AF-Element-Delete
Input
| Inputs | Type | Mandatory | Description |
|---|---|---|---|
| payload | |||
| Elements | Array of Elements | Y | Otherwise it's useless |
| Name | string | Y | Name of Element to Delete |
| Path | string | Y | Path to element parent |
| CheckinLimit | numeric | N |
Output
| Outputs | Type | Description | Example |
|---|---|---|---|
| payload | |||
| array[1] | array | ||
| 0 | object | object | |
| Name | string | Name: ""Element A"" | |
| PrimaryPath | string | PrimaryPath: ""\DEV-AF1\NodeTestCaseSource\Element A"" | |
| Action | string | Action: ""Deleted"" |
Example Input Payload
msg.payload = {
{ "Elements": [
{
"Name": 'Element A',
"Path": "\\\\"+env.get("TestSystem") + "\\" + env.get("TestDatabase"),
}
]}}
return msg;
Example Flow
[
{
"id": "fbcb477227a487c8",
"type": "AF Element Delete",
"z": "73566071f866aafa",
"name": "",
"x": 190,
"y": 200,
"wires": [
[]
]
}
]