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.
Solved
How to get the FMEServerJobWaiter to wait until the last server job is complete?

Best answer by stephen.wong
Hi mikek, in 2017.0 you can take advantage of the option 'Submit Jobs: In Parallel', followed by 'Wait for Job to Complete: Yes'. What this will do is submit your several hundred jobs at once, and wait until all of them are complete, and it doesn't depend on the order in which the jobs finish.
Read more about this option in the documentation:
Hope this works!
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.