Hi,
As my alter-ego "lifalin2016" i brazenly proclaimed in a post in June that "I have the multiple OUTPUT tags option covered". This is unfortunately not really the case (anymore).
The PythonFactory documentation clearly states, that multiple output tags are possible (as in the "t...]*" notation), but I get an error when using them: "The clause 'OUTPUT PYOUTPUT ...' is incorrect. The OUTPUT PYOUTPUT clause is already specified". I assume the doc is faulty then.
It's then back to a single output + a number of TeeFactory's. I seem to remember this being mentioned by one of y'all at some point, but I can't seem to locate it anywhere :-/
Unfortunately my experience with factories is limited, but here's my best shot (using an attribute named "___output_type___" to route features to the output tags SUCCEEDED and FAILED. But no features are output :-(
# after PythonFactory
FACTORY_DEF * TeeFactory
FACTORY_NAME $(XFORMER_NAME)_Splitter1
INPUT FEATURE_TYPE * ___output_type___ 1
OUTPUT FEATURE_TYPE SUCCEEDED
FACTORY_DEF * TeeFactory
FACTORY_NAME $(XFORMER_NAME)_Splitter2
INPUT FEATURE_TYPE * ___output_type___ 2
OUTPUT FEATURE_TYPE FAILED
Any help on this is appreciated.
Cheers
Lars I.