Skip to main content
Question

Job submiter failed

  • December 7, 2015
  • 2 replies
  • 23 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+26
  • Contributor
  • December 7, 2015

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.


david_r
Celebrity
  • December 7, 2015

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