Novice FME user here. I have an FME model that I need to run on a quarterly basis, which among other things writes an ESRI file geodatabase and calculates zonal statistics by way of a PythonCaller. I've had to amend the model slightly to extract min and max values from the zonal statistics tables, where previously it only extracted the max values.
Currently models has a FeatureWriter (to fgdb) which passes to a PythonCaller (runs zonal statistics and saves results to tables in the fgdb) to a FeatureReader (extract results from tables to pass to AttributeManager). Where I'm falling down is in the FeatureReader parameters, when I set the dataset parameter to $(Output_GDB) and then go to select the zonal statistics table outputs in "Feature Types to Read" I get a "Failed to retrieve feature types" error, essentially looking for an fgdb that doesn't exist.
I find that if I run the model, let it fail, then go back in and retrospectively point that FeatureReader to the fgdb created in the first run and assign the relevant values downstream, then delete the previous outputs and run it again, that it works. But this is redundant and impractical.
Does the $(Output_GDB) value not look for outputs from upstream in the model? and How can I get around this issue?