Skip to Content
0
Nov 27, 2019 at 01:52 PM

SAP UI5 Process FLow

328 Views

I am trying to create a process flow from ODATA. In that if I add connectionLabel under child, Process flow is not displaying.

But without connectionLabel, Process flow gets displayed.

Works:

this.proccessFlowModel.getData().nodes[i].Children.push({ "nodeId": parseInt(this.proccessFlowModel.getData().nodes[j].Nodeid), });

Not Works: -- In this ID1 is unique for each child

this.proccessFlowModel.getData().nodes[i].Children.push({ "nodeId": parseInt(this.proccessFlowModel.getData().nodes[j].Nodeid), "connectionLabel": { "id": id1, "text": "2 Days", "enabled": true, "state": "Neutral" } });