Question

Is it possible to see information about which process launched a job ?

  • 4 January 2022
  • 3 replies
  • 0 views

Userlevel 1
Badge +22

Hi list.

I have a job being submitted multiple times, although I've added a sampler of "first 1" before the serverjobsubmitter (just in case).

Is there a way to see, which process (job) that launched the jobs in question ?

Cheers


3 replies

Userlevel 4
Badge +25

You could add a user parameter for the child workspace that you fill with the $FME_JOB_ID parameter of the parent workspace.

Userlevel 1
Badge +22

You could add a user parameter for the child workspace that you fill with the $FME_JOB_ID parameter of the parent workspace.

Thanks Red, but that's not exactly the "detection" I was looking for, more like "coercion" ;-)

 

Alternatively, can a job/workspace determine (by itself), whether it's being run via automation or have been triggered in another manner?

Userlevel 4
Badge +25

Thanks Red, but that's not exactly the "detection" I was looking for, more like "coercion" ;-)

 

Alternatively, can a job/workspace determine (by itself), whether it's being run via automation or have been triggered in another manner?

Nothing wrong with a bit of coercion 😉

 

And yeah, I think it is possible, see the answer @hollyatsafe​ posted in this thread

Reply