hi everyone
Pls find the flow attached below , instead of inject1 & inject 2 nodes i want to text input nodes or single ui form
[
{
"id": "e5aae51cd3f577c7",
"type": "tab",
"label": "Flow 11",
"disabled": false,
"info": "",
"env":
},
{
"id": "69db591dcf229454",
"type": "group",
"z": "e5aae51cd3f577c7",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"fc1f36eb4e7fd605",
"890e368018dea777",
"87f6971a4ab2090c",
"5daf7c74415a6831",
"2b09d2ec397649c5",
"a2f2cea4f94bdf90"
],
"x": 4,
"y": 79,
"w": 922,
"h": 202
},
{
"id": "fc1f36eb4e7fd605",
"type": "function",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "Generate Label",
"func": "\n{\nvar variable1 = msg.payload1;\nvar variable2 = msg.payload2;\n\n msg.payload = "1=^XA^CI0 2=^FO100,25,0^BY12^BXN,7,200,20,20,1,_^FD"+variable1+"^FS 3=^FT300,110^CI0^A0N,42,45^FD"+variable2+"^FS 4=^XZ"\n \nreturn msg;\n}\nreturn msg;\n\n",
"outputs": 1,
"timeout": "",
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": ,
"x": 540,
"y": 180,
"wires": [
[
"890e368018dea777"
]
]
},
{
"id": "890e368018dea777",
"type": "debug",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "debug 12",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 560,
"y": 240,
"wires":
},
{
"id": "87f6971a4ab2090c",
"type": "comment",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "multiple variables through inject node multiple payload with join node",
"info": "",
"x": 660,
"y": 120,
"wires":
},
{
"id": "5daf7c74415a6831",
"type": "inject",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "inject1",
"props": [
{
"p": "payload1",
"v": "hello",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 100,
"y": 140,
"wires": [
[
"a2f2cea4f94bdf90"
]
]
},
{
"id": "2b09d2ec397649c5",
"type": "inject",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "",
"props": [
{
"p": "payload2",
"v": "world",
"vt": "str"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 100,
"y": 180,
"wires": [
[
"a2f2cea4f94bdf90"
]
]
},
{
"id": "a2f2cea4f94bdf90",
"type": "join",
"z": "e5aae51cd3f577c7",
"g": "69db591dcf229454",
"name": "",
"mode": "custom",
"build": "string",
"property": "payload",
"propertyType": "msg",
"key": "topic",
"joiner": "\n",
"joinerType": "str",
"accumulate": false,
"timeout": "10",
"count": "2",
"reduceRight": false,
"reduceExp": "",
"reduceInit": "",
"reduceInitType": "",
"reduceFixup": "",
"x": 300,
"y": 160,
"wires": [
[
"fc1f36eb4e7fd605"
]
]
},
{
"id": "76bc1abd445c98a5",
"type": "ui_spacer",
"z": "e5aae51cd3f577c7",
"name": "spacer",
"group": "f93d8b7451631af8",
"order": 2,
"width": 6,
"height": 1
},
{
"id": "f93d8b7451631af8",
"type": "ui_group",
"name": "Default",
"tab": "bb1aaa5d8407907e",
"order": 1,
"disp": true,
"width": "6",
"collapse": false
},
{
"id": "bb1aaa5d8407907e",
"type": "ui_tab",
"name": "formentry",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]