Hi,
Quick question, which is maybe simple…
Scripting the custom event plugin. Know well how they work, except on thing:)
Whenever the trigger events fire up (OnJobSubmitted,…etc.) we get an object Job that represents the current Job that has triggered this event. Great! All good!
But now I need in the same code to actually check with the repository some information on OTHER jobs. Assumin I have the JobId of those other jobs. I have an array of those jobIds and I want to no on the OnJobSubmitted on the current job, to cycle through the IDs of other jobs and collect the status for example.
But I can not figure out what class / method I can use to do that:(
Any tips? Thank you!