I cant get my dashboard working with more than two textvalues and sending them as separate values so i can use them in a subflow after the button is activated.
When this testcase works a will have a listbox with ipadressen to choose and a listbox with OS commands to execute. When the button is activate it will check the choosen server and execute the selected command.
I have the executing working , but cant pass more then one value when the button is activated
[
{
"id": "da3e4843.e44578",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": ""
},
{
"id": "416842e7.18fcac",
"type": "ui_button",
"z": "da3e4843.e44578",
"name": "",
"group": "63a7122a.653c4c",
"order": 3,
"width": 0,
"height": 0,
"passthru": false,
"label": "Do stuff",
"tooltip": "",
"color": "",
"bgcolor": "",
"icon": "",
"payload": "textInput1",
"payloadType": "flow",
"topic": "",
"x": 180,
"y": 360,
"wires": [
[
"fd9e1433.595398"
]
]
},
{
"id": "a55d5c3f.f259f",
"type": "ui_text_input",
"z": "da3e4843.e44578",
"name": "",
"label": "",
"tooltip": "",
"group": "63a7122a.653c4c",
"order": 1,
"width": 0,
"height": 0,
"passthru": true,
"mode": "text",
"delay": "100",
"topic": "",
"x": 120,
"y": 120,
"wires": [
[
"f309674.f462f98"
]
]
},
{
"id": "fd9e1433.595398",
"type": "function",
"z": "da3e4843.e44578",
"name": "my function that does stuff",
"func": "\nreturn msg;",
"outputs": 1,
"noerr": 0,
"x": 410,
"y": 360,
"wires": [
[
"c8af5121.0fbb9"
]
]
},
{
"id": "c8af5121.0fbb9",
"type": "ui_text",
"z": "da3e4843.e44578",
"group": "63a7122a.653c4c",
"order": 2,
"width": 0,
"height": 0,
"name": "",
"label": "Result: ",
"format": "{{msg.payload}}",
"layout": "row-left",
"x": 640,
"y": 360,
"wires": []
},
{
"id": "f309674.f462f98",
"type": "change",
"z": "da3e4843.e44578",
"name": "",
"rules": [
{
"t": "set",
"p": "textInput2",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 370,
"y": 120,
"wires": [
[
"45e7e288.76564c"
]
]
},
{
"id": "45e7e288.76564c",
"type": "link out",
"z": "da3e4843.e44578",
"name": "",
"links": [
"16d8779a.6e20e8",
"aa966c98.0fd6e",
"b0c56eba.88147",
"4f5a3d06.686674"
],
"x": 535,
"y": 120,
"wires": []
},
{
"id": "16d8779a.6e20e8",
"type": "link in",
"z": "da3e4843.e44578",
"name": "",
"links": [
"45e7e288.76564c",
"c564ce94.1ab4f",
"ef12cc40.85532"
],
"x": 55,
"y": 360,
"wires": [
[
"416842e7.18fcac"
]
]
},
{
"id": "3456b0cf.9dc1e",
"type": "inject",
"z": "da3e4843.e44578",
"name": "Init with empty string",
"topic": "",
"payload": "",
"payloadType": "str",
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"x": 140,
"y": 60,
"wires": [
[
"a55d5c3f.f259f"
]
]
},
{
"id": "1ed96ab5.b27b85",
"type": "inject",
"z": "da3e4843.e44578",
"name": "Init with empty string",
"topic": "",
"payload": "",
"payloadType": "str",
"repeat": "",
"crontab": "",
"once": true,
"onceDelay": 0.1,
"x": 120,
"y": 180,
"wires": [
[
"6c59841b.20168c"
]
]
},
{
"id": "6c59841b.20168c",
"type": "ui_text_input",
"z": "da3e4843.e44578",
"name": "",
"label": "",
"tooltip": "",
"group": "63a7122a.653c4c",
"order": 1,
"width": 0,
"height": 0,
"passthru": true,
"mode": "text",
"delay": "100",
"topic": "",
"x": 100,
"y": 240,
"wires": [
[
"9a481147.47bb2"
]
]
},
{
"id": "9a481147.47bb2",
"type": "change",
"z": "da3e4843.e44578",
"name": "",
"rules": [
{
"t": "set",
"p": "textInput1",
"pt": "flow",
"to": "payload",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 370,
"y": 240,
"wires": [
[
"ef12cc40.85532"
]
]
},
{
"id": "ef12cc40.85532",
"type": "link out",
"z": "da3e4843.e44578",
"name": "",
"links": [
"16d8779a.6e20e8",
"aa966c98.0fd6e",
"b0c56eba.88147",
"4f5a3d06.686674"
],
"x": 535,
"y": 240,
"wires": []
},
{
"id": "63a7122a.653c4c",
"type": "ui_group",
"z": "",
"name": "TEST",
"tab": "f5ae0649.7bda38",
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "f5ae0649.7bda38",
"type": "ui_tab",
"z": "",
"name": "TEST",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]