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?
Page 1 / 1
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.
@david_r, that is no more simpler. Thanks.