Skip to main content

Day one in FME... Coming from an SSIS background.

What would be the approach to dynamically set a reader location based on the results from a transformation? I'd like to take the Joined results I have and for each filepath start a whole new batch of work. The readers have me stumped as I'm used to being able to set the source locations using an expression. I can see I'm not able to add a reader in a custom loop. Just looking for a push in the right direction. (see below).

 

Capture

Could be I need to re-wire my brain for FME use too!

You could take a look at the FeatureReader, this will allow you to use information from the first part of your translation as a source file location.

The workspace runner is another option, this will run a second workspace for each feature sent into it. If the second workspace has a parameter that controls the source file location you can set this in the workspace runner from the output of your starting workspace.

https://community.safe.com/s/article/batch-processing-using-the-workspacerunner-1


Reply