Skip to main content

I have big
workspace with a lot of job submitters. I want to stop process if any job will
failed, how to do that?

The JobSubmitter will not fail if the Wait option is set to No and the job is submittable. To check for failure you either set the wait to Yes, or use the FMEServerJobWaiter after each FMEServerJobSubmitter that needs checking for failure. The FMEServerJobWaiter will get the failure status for you.


Hi

You can either set the FMEServerJobSubmitter to wait until the job has terminated, or use the FMEServerJobWaiter with the "_job_id" value that you got from the FMEServerJobSubmitter.

Both have an output port that triggers on a failure in the called workspace.

It is also possible to use the FMEServerLogFileRetriever.

David


Reply