Advanced Modeling – Filter Sub-Node elements
Consider the following flow, where we model Table Views in the defined clustered hierarchy:
Now, assume that we want to filter the data on the address level (the address of the currently selected supplier). We can’t do it using this simple flow. We need to have a Service Component that returns the address data so we can filter it:
Add a Service Component to the model.
This service could be modeled in the following way: the Input port contains the full supplier hierarchy. The output port contains the same hierarchy minus the original root.
Back in the main model:
Open the Redefine Ports dialog for the new Service Component and select the new ports.
It is now possible to define the desired filter on the address level: