I have an Automation on FME Server, which runs a workbench and that workbench runs a SystemCaller which runs a python script.
Occasionally, the python script fails to run, and I want this failure to be recognised by the Automation, so that it sends me an email stating that it has failed.
How do I do this?
I can see how to set up the SystemCaller so that the Output Exit Code Attribute has a value of nonzero (representing failure)
But how does this trigger the workbench to fail inside the Automation?
I need the Automation to recognise the failure event so that it can generate an email stating that.