Skip to main content

Hi there!

I have several different FME scripts I have developed to translate layers in a source DWG to feature class in a FGDB.

I need the ordering to fire as the below in the bookmarks, with one line creating a merged shp, then the other line taking that merged shp and importing it into a FGDB. Is there a way to set the order of lines or bookmarks to fire before the other?

 

image 

Thank you!

Different ways to solve this.

  • If you use FeatureReaders and FeatureWriters you can use the summary feature of the first FeatureWriter to trigger the next phase. This is my preferred way.
  • If you really want this you can use different child workspaces for the different bookmarks and use one parent workspace with workspacerunners to fire them one by one.

You can also split it up into two different readers and put all the feature types flagged as (1) into first reader, and all the feature types flagged as (2) into the second reader. In the Workbench Navigator, make sure the order of the readers correspond to (1) and (2). You can right-click the readers and move them up and down.

See also: https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Form/Workbench/Performing%20Other%20Tasks_ReadersWriters.htm


Thanks both @nielsgerrits and @david_r! I'll look into both and see what works best for my case - thanks again and happy holidays to both of you


Reply