Skip to main content
Solved

How do I control the execution sequence for path/filecopier

  • February 7, 2020
  • 2 replies
  • 43 views

fpakzat
Contributor
Forum|alt.badge.img+3

Hi all,

A very dumb question: below part gives me what I wanted which is to copy a file from a folder to another location. But how do I control the sequence so that this part is executed first, and then go to other part of the scripts. I meant both "Path" and "FileCopy" don't have a connector (to connect to previous step or to the next step after these are done).

Best answer by erik_jan

Instead of the FileCopy writer, you could use a FeatureWriter transformer.

FeatureWriter is a transformer that acts as a writer, but with an output port.

In the FeatureWriter you can specify the same as the FileCopy writer.

Hope this helps.

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • Best Answer
  • February 7, 2020

Instead of the FileCopy writer, you could use a FeatureWriter transformer.

FeatureWriter is a transformer that acts as a writer, but with an output port.

In the FeatureWriter you can specify the same as the FileCopy writer.

Hope this helps.


fpakzat
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • February 8, 2020

Instead of the FileCopy writer, you could use a FeatureWriter transformer.

FeatureWriter is a transformer that acts as a writer, but with an output port.

In the FeatureWriter you can specify the same as the FileCopy writer.

Hope this helps.

thanks, it worked.