vazquezrosariop wrote:Hi Garcy,
I have attached a example graph/subgraph compares two files and joins them based on category ID. The CustomJoiner.sgrf demonstrates how to read all records from one input port, store them in a temporary file and then iterate thought them repeatedly. For this example CustomJavaTransformer_iterationes.grf shows how the joiner is sued to replace product category ID with category name.
That is perfect! Exactly what i was after and a very detailed example with multiple options, thank you!
I do have another (hopefully quick) query.. logging from a sub-graph, is this possible? I cannot seem to get anything logged from the sub-graph, however when the custom transformer is place onto the main graph, all logging occurs.
Is this simply not a feature yet, or is there something i need to do?