Skip to main content
Open

Make it easier to output temp files e.g., with FeatureWriter/HTTPCaller

Related products:Transformers

virtualcitymatt
Celebrity

**UPDATE** - This looks to be a duplicate idea of: https://community.safe.com/ideas/featurewriter%2Doption%2Dto%2Dwrite%2Dto%2Dtemporary%2Dfile%2Dwithout%2Dgiving%2Dan%2Dexplicit%2Dpath%2D32725

The use of temp files in FME is not uncommon and the process for creating temp files right now in the middle of a workflow seems more complicated than it needs to be. 

The current workflow requires a user to put down a TempPathNameCreator and each feature which goes through this will create a new pathname, this is rarely desired. You need to use a FeatureMerger or something similar to get the correct path onto all of the feature which over complicates the process. 

Better would be an option to either put the same path on each feature, or add a GroupBy. Even better still would be an option directly in the FeatureWriter/HTTPCaller to just output to a temp location and doing away with need for the transformer in many workflows.

An additional benefit of changing the way this works would also be in debugging. At present if you want to inspect the temp file in a workflow you either need to modify/disable parts of the workflow and/or change the path in the FeautreWriter/HTTPCaller. 

Furthermore, the TempPathnameCreator can also be a problem when working with partial runs, indeed, this probably won’t go away with adding the option to the FeatureWriter/HTTPCaller, however, it’s another issue which complicates the process. 

3 replies

LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • September 3, 2024
NewOpen

vlroyrenn
Supporter
Forum|alt.badge.img+12
  • Supporter
  • November 20, 2024

HTTPCaller aside, might this be a duplicate of this other idea?

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+34
vlroyrenn wrote:

HTTPCaller aside, might this be a duplicate of this other idea?

 

Oh yes it very much is. Nice workaround by the way you’ve suggested there. 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings