I have several hundred jobs that I'm processing on FMECloud. The FMEJobSubmitter is set to 'Wait for job to complete: No" so I can take full advantage of 10 engines and the queue. After the JobSubmitter I have a FeatureHolder, then a Sorter (Descending by _Job_id), then a Sampler (First 1 Features) to get the last job "_job_id". When the last jobs arrive from the queue and run on the 10 engines the dataset for the last job is smaller and therefore finishes before the others, therefore the FMEServerJobWaiter sees the last job is Complete the workbench continues, although all the jobs are not really complete. If one could set the Priority in the FMEServerJobSubmitter via an attribute one could set the priority of the last job to be lower (ie. 101) than the others (ie. 100) forcing it to really be last.
Best answer by stephen.wong
View original