Access JobParameters via JobInstance #5086
Unanswered
Walnussbaer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I am trying to implement some logic that tries to find out which
JobInstancesshould be restarted and which not.This is how I do it at the moment:
The first TODO already summarizes my problem/questions: Why can't I access the
JobParamatersof someJobInstance?As far as I know, a
JobInstanceis defined via a combination ofJob+JobParamters.Currently, to get the
JobParametersof someJobInstance, I have to get at least oneJobExecutionof thatJobInstance.But all the
JobExecutionsshould have exactly the sameJobParametersright? At least if they are identifying.And is there a better way to access
JobParametersof someJobInstancethat I don't see yet?Thanks for any help! :)
Beta Was this translation helpful? Give feedback.
All reactions