Skip to main content
Released

Controlling Creator order

Related products:FME Form
siennaatsafe
erik_jan
revesz
+1
  • siennaatsafe
    siennaatsafe
  • erik_jan
    erik_jan
  • mark_f
  • revesz
    revesz
  • kim
  • olgam

The order in which features are read play an important part in the performance or simplicity of a workspace. Reader order can be specified by changing the order in the Navigator. Creators only have two options: read at start or read at end. I feel better control concerning Reader/Creator order would be a great improvement.

This idea has been mentioned before by @david_r and @takashi here (though I couldn't find the idea mentioned in his last reply) and by @fmelizard here. Apparently this call has been logged with Safe already, but perhaps we can gather some votes or ideas on how it should work on this post.

Some possibilities:

  1. Creators also showing up in the Navigator inbetween the readers. Simple and uses existing functionality to determine order.
  2. A seperate window to rearrange all Creators/Readers in one go. Seems a bit clunky.
  3. An option on a Creator to 'Read [before/after] [Reader/Creator] X. Quite simple, but not deterministic if you schedule two Creators to run after the same Reader.
<strong>This post is closed to further activity.</strong><br /> It may be a question with a best answer, an implemented idea, or just a post needing no comment.<br /> If you have a follow-up or related question, please <a href="https://community.safe.com/topic/new">post a new question or idea</a>.<br /> If there is a genuine update to be made, please contact us and request that the post is reopened.

11 replies

erik_jan
Contributor
Forum|alt.badge.img+18
  • Contributor
  • February 16, 2016

geosander
Forum|alt.badge.img+7
  • February 16, 2016

Safe is already working on it, I think.

In the beta build list, under build 16449, there is this item:

 

Workbench: (PR#64508) Allow controlling order of creation transformers through transformer name.

Not such a fancy implementation as you are suggesting, but you could download and install the latest FME beta to see if it works for you!


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • February 17, 2016

Yes, this is in the 2016.1 betas now. I was experimenting with it last night. Seems to work very well. .

UPDATE: Originally we used the names of the creators to control their order, but we changed to an explicit dialog to move them up and down. And made it clear that all creators will fire before any features enter a transformer from a reader. And "Create At End" Creators go after the readers have all finished.

Original announcement below:

We are using the lexical order of the names of the transformers to govern the execution. So if you look at them in the navigator pane, that is the order they will fire. They will always go before any features from a "reader" are read in. If you need to interleave that, then you could use a Creator followed by a FeatureReader. We can't technically make Creators go in between "readers" that are otherwise added.

Even if you have custom transformers, within the custom transformer the Creators will fire in the right order, and if you make a custom transformer with no inputs, it will fire in the order of its name with respect to all other Creator-type transformers


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • February 17, 2016

See also Takashi's version of the suggestion over here.


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Thanks Erik Jan, I did a few searches for it myself but couldn't find it.


Forum|alt.badge.img+5
  • Author
  • February 17, 2016

Thanks for the explanation, will definitely give that a try!


david_r
Celebrity
  • February 17, 2016

This is great news, thanks! One thing that would help a lot, would be to extend the Creator setting "Create at end" so that you could also ask it to fire either BEFORE or AFTER all the readers. This would be fantastic for scenarios like "Suppliers first = Yes" etc.


fmelizard
Safer
Forum|alt.badge.img+19
  • Safer
  • March 13, 2016

Create At End now does go after the last reader. As well, we've moved to an explicit dialog to do the ordering as opposed to alphabetical. So you can just right-click on a creator-type transformer to set the order.


david_r
Celebrity
  • March 14, 2016

Fantastic!


Forum|alt.badge.img+5
  • Author
  • March 14, 2016

Great improvement, the lexical sorting sounded (and was I think) rather iffy! Still wish I could intermingle with readers, but this is a big step in the right direction.


Forum|alt.badge.img+1

This has been released as part of FME 2016.1 . Visit http://www.safe.com/downloads to download and try it.


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