I joined VC CE QA team and one of my new projects is using CE to create real applications. By this I hope to accomplish several goals, like:
- Familiarize myself with VC CE architecture
- Explore VC CE capabilities and boundaries
- Finding bug and user pain points
I found this while “playing around” with passing data. I created a simple model passing rows from Source composite application to Target. As you can see in the diagram, all the ports are set to Record Set.
Now, each of the lines has selection mode, which can be configured to All data rows, Selected data rows or Current data row (even the line connecting the start point but it makes no difference in this case and I’ll leave it as All data rows).
Setting all the lines to All data rows and clicking pass will pass all the rows to target and setting all the lines to Current data row and clicking pass will pass only the current row, as expected. But what happens when I set all the lines to Selected data rows? Well, I expected to receive the selected data rows but actually I got only one record, the last Record.
Let’s look under the hood; the table passes all the selected rows to the output according to the line configuration. The data is then copied to the output port of the composite application leaving only the last record as selected. The line connecting the source and target passes only this line.
How can I solve this?
Simple, change only the first line (the one connecting the source table and output) select mode to Selected data rows and leave the others with all data rows.