Skip to main content
Question

Control order of processing/transformers in one workspace

  • November 21, 2016
  • 1 reply
  • 17 views

fmelizard
Safer
Forum|alt.badge.img+18

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.

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

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