1

I am using FME workbench 2018.1. I am working on a model where i have to apply lots of string operations on different feature classes and then merge them into one. I want to know if there is any console area where i can quickly test the function and see the output rather then running the whole FME again and again. I have been using inspector and logger but i am wondering if there is a console in FME.

3

You probably want to use Feature Caching, introduced in FME 2018. This function caches all features at every transformer. This way you can run the proces from a specific transformer.

To enable Feature Caching click "Run", "Run With Feature Caching". Run With Feature Caching

After a full run you can click a transformer and hit "Run From This". Run From This

A few additions:

  • This can use a lot of temp disk space as there will be a lot of caching.
  • Because all the read / write actions the performance might be slower.
  • To overcome previous issues, transformers in closed bookmarks will not be cached separately, only at the bookmark output.
  • In FME 2019 the "Run Workspace" (F5) button is defaulted to run with cached features, to re-run completely fresh use CTRL-F5. This works far more intuitive.

Also see this blog post and this article.

1

Feature Caching (as noted in another answer) is a good way to go here. Also use a Sampler or limit the number of features being read, as often you'll only want to test one or two features to ensure something is working, not the whole source dataset.

Also, if your transformations use regex then FME has a regex editor with built in tests. Access it through Open Regex Editor, wherever that is available:

enter image description here

Then you have a dialog in which to test expressions:

enter image description here

DateTime transformers have a similar dialog for testing expressions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.