Skip to main content
Solved

How to delay a part of a process

  • January 21, 2020
  • 1 reply
  • 105 views

Forum|alt.badge.img

Hello everybody!

I have a process that on ine libe calculates some values and write out in a text file. On an other line a system caller usues these files as an input data (with lascontrol command).

I would like to know how can I define to delay these seconfd line until the file writer is not ready. 'Cause now the command gives back an error like: there is no input data (so the textfile).

Here is a screenshot of the process.

Best answer by david_r

Replace the regular writer with a FeatureWriter transformer, then connect the rest of the process to the Summary port of the FeatureWriter. That way the rest of the process won't be executed before the file has been completely written out to disk.

Something like this:

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

david_r
Celebrity
  • 8392 replies
  • Best Answer
  • January 21, 2020

Replace the regular writer with a FeatureWriter transformer, then connect the rest of the process to the Summary port of the FeatureWriter. That way the rest of the process won't be executed before the file has been completely written out to disk.

Something like this: