Hello all,
I have a TestFilter that directs my input data into multiple branches for further transformation and I have dozens of test conditions within this TestFilter, similar to below:
If Test condition @Value(field1) = A to Output port 'Road'
Else If Test condition @Value(field1) = B to Output port 'River'
Else If Test condition @Value(field1) = C to Output port 'School'
etc, etc.....
Is there a way i can then use these port values to replace the original input attribute value for this field? For example:
Replace all attribute values of 'A' with 'Road'
Replace all attribute values of 'B' with 'River'
etc, etc
I'm trying to find a way of avoiding having to create dozens of repetitive transformers after each port to make this attribute value change and hoping to reuse the effort made thus far with in creating the existing TestFilter
Does anyone know if this is achievable?
TIA,
R