Skip to main content
Question

Control order of processing/transformers in one workspace

  • November 21, 2016
  • 1 reply
  • 26 views

fmelizard
Safer
Forum|alt.badge.img+21

Is there a way to control the processing order so that the first part of processing, which creates a backup file, completes before the second part of processing starts. I don't want the second part to start processing on the file before the backup of that file can be created.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

Forum|alt.badge.img

To make sure that a workspace writes a backup before starting the second part of processing you could use a FeatureWriter to write the backup. This transformer would return a summary feature once the backup is written, which could then trigger either the next transformer or a reader for the second part of processing with the FeatureReader.

These articles are a great introduction to the FeatureReader & FeatureWriter transformers:

https://knowledge.safe.com/articles/24082/basic-featurewriter-example.html

 

https://knowledge.safe.com/articles/23538/the-featurereader-transformer.html