span8
span4
span8
span4
Hello,
Is it possible to configure auto resubmit job after fail on fme server using fme 2019?
If FME Server crashes during the processing of the job it should resubmit once it gets back on its feet.For other jobs that fail there is no such thing in place.In most,if not all,cases a job that failed the first time will fail the second time as well so potentially you will lock up an engine until eternity.
What you could do is set up a topic to trigger on failure and use that to find the job id,find its parameters and resubmit it via the Rest API.Alternatively,an approach through FMEServerJobSubmitters or the new Automations will let you add processing logic to a failed job as well.
Well sometimes job may fail because it can't connect to the database because of network issues that may be fixed after 1 min.So then next time it will work without problems.I think that it would be nice to have configuration to resubmit with circuit breaker.For example try 3 times (1 time after minute,second time after 5 min,third time after 30 min) and if soent work stop retrying :)
I think that I will try a bit with automations in fme 2019.
Is there any easy way to resubmit job using rest api with information that it was triggred by given scheduled task?
I think it'll be a bit clunky.If you want to get that retry after a certain amount of time you'll have to create a one-time schedule using the Rest API to trigger the workspace again.If you have a lot of user parameters you'll need to retrieve those as well so you can set them again for the next run.
© 2019 亚搏在线Safe Software Inc |Legal