Solved

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


Badge +4

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?

icon

Best answer by david_r 28 March 2022, 14:49

View original

2 replies

Userlevel 4

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.

Badge +4

@david_r, that is no more simpler. Thanks.

Reply