Is there anyway to put a loop in the graph as I am doing something which seems to make a lot of sense but getting no-where as the graph is being thrown out becuase of a circular ref.
I have a file with various fields, one of which is an account number.
I am passing this to a Simple Gather (Port 0) and then on to a DEDUP (port 0). If the account number is not a duplicate it then passes it to a file, if not I have a link back to the Simple Gather (Port 1) which processes it again.
The main goal behind this is to build a file where there are no two account numbers the same consecutively.
The error message I am getting is…
10:13:53,207 DEBUG [main] - Dump of references between nodes:
10:13:53,207 DEBUG [main] - Detected loop when encountered node SIMPLE_GATHER1
10:13:53,207 DEBUG [main] - Chain of references:
10:13:53,207 DEBUG [main] - DATA_READER1 → SIMPLE_GATHER1 → DEDUP0 → SIMPLE_COPY0 → SIMPLE_GATHER1
10:13:53,207 ERROR [main] - Circular reference found in graph !
org.jetel.exception.GraphConfigurationException: Circular reference found in graph !
at org.jetel.graph.TransformationGraphAnalyzer.analyzeGraphTopology(TransformationGraphAnalyzer.java:101)
at org.jetel.graph.TransformationGraph.init(TransformationGraph.java:466)
at org.jetel.main.runGraph.main(runGraph.java:313)
10:13:53,207 ERROR [main] - Error - graph’s configuration invalid !
org.jetel.exception.GraphConfigurationException: Graph initialization failed.
at org.jetel.main.runGraph.main(runGraph.java:314)