Thanks for the solution.This solution works quite well.
Are you trying to get rid of all "SEQ: 4" if so just filter them or is it that you want to remove the 4th part of a grouping if it makes a "loop"?
Yes,this is correct
Correct me if I'm wrong,but the ID: 02 lines don't form a loop,do they?The connecting piece is ID: 01
You could use an AreaBuilder,grouping by the ID.Lines that form a loop are output as an area,if no loop is formed they are output via the incomplete port.
One possible solution is to use the AreaBuilder with a Group By on the "ID" attribute.Specify a list name and use the ListElementCounter to check for >= 4 elements on the output areas.