Skip to main content
Question

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

  • January 4, 2022
  • 3 replies
  • 13 views

lifalin2016
Supporter
Forum|alt.badge.img+38

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

redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • January 4, 2022

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


lifalin2016
Supporter
Forum|alt.badge.img+38
  • Author
  • Supporter
  • 592 replies
  • January 12, 2022

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?


redgeographics
Celebrity
Forum|alt.badge.img+60
  • Celebrity
  • 3704 replies
  • January 13, 2022

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