Yes, as@itaynotes, the transformer should have the same parameter to expire after a set time:
I guess the problem there is that it's a completely separate action to what happens to the main workspace.Because it's submitted as a separate job it's hard to tie the two together, so if one fails the other does too.
So the only way I can see to fully handle this scenario is to use the REST API (say as a call in the main workspace) to find the job ID and record that information somewhere.Then sporadically run a script (another workspace perhaps) to check for orphaned jobs, using the REST API again to delete them.
Or perhaps a Server expert can tell us of a better way?
Hi@rdbath_
In the bottom part of the FMEServerJobSubmitter (advanced) you can add some directives to the child job.This is available in FME 2018.1 and 2017.1
Hope this helps.
Itay