Skip to main content
Solved

What is the best way to interrupt the start of a workspace in the automation chain?


aguan
Contributor
Forum|alt.badge.img+11
  • Contributor

Suppose I have two workspaces A, and B that run sequentially in a scheduled job. I want to start B if A actually runs through and writes something to the writer. If nothing writes in A, I don't want B to start at all. I could think of a few ways to do it, but all require writing intermediate status data to an external file or database. Should there be a simpler way to do this in the FME server automation (I am at 2021.1.2)? Is it possible to do this in the startup python script - if a condition is not met, terminate the workspace?

Best answer by david_r

The easiest is to simply to use the Terminator transformer in the workspace, which will trigger the Failure output port of the automation action, rather than the Success output port.

View original
Did this help you find an answer to your question?

2 replies

david_r
Celebrity
  • Best Answer
  • March 28, 2022

The easiest is to simply to use the Terminator transformer in the workspace, which will trigger the Failure output port of the automation action, rather than the Success output port.


aguan
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • March 28, 2022

@david_r, that is no more simpler. Thanks.


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