Hi,
I am trying to add a flow which has two connected nodes (nodeType1
and nodeType2
). Following is my code
`
var nodes = [
{
"id":"5554e61.aff8018",
"label":"AppInstance1"
},
{
"id":"759b90c5.2a17b",
"type":"nodeType1",
"z":"5554e61.aff8018"
},
{
"id":"a91c4c.f99c93b8",
"type":"nodeType2",
"z":"5554e61.aff8018",
"wires":[
[
"759b90c5.2a17b"
]
]
}];`
`
let flowDescription = {
"id": "o2G75uz.5ceKyNF",
"label": "Sheet12345",
"nodes": nodes,
"configs": [ ].toString()
};`
$.ajax({
type: "POST",
url: "http://127.0.0.1:1880/flow",
data: flowDescription,
dataType: "json"
});`
I am getting an error notification saying that cannot add the flow due to missing nodes but the missing nodes list it empty. (note: nodeType1
and nodeType2
node have been installed).
- Are these node descriptions correct? If not what is the issue?
- Can I add wirings in between nodes as I have added into the node descriptions?
Appreciate your inputs.