I need to be able to achieve the following algorithm, in which, if the DB Reader node marks “empty data” another node will be executed. As in the example below.
If the node does not contain data, it will run the lower node, but if it got data it will run a later node.
Thank you in advance and if you need more context, don’t hesitate to ask me
Exactly how the flows are joined depends on whether the output from both the DB Readers is compatible, and you might need to do something different with them depending on what comes after the CASE Switch End
The NoOp node is an extension from Nodepit Power Nodes. It’s purpose here is to do nothing other than provide a means for connecting an Empty Table Switch data port to the DB Table Selector’s flow port, thus controlling the flow.
If you don’t/can’t use the NoOp node, you can use the Add Empty Rows node instead. Other nodes would also work, but this one is pretty infallible and won’t waste processor! (I just configure it to add 0 additional rows, so that it is doing nothing.)