Skip to main content
Question

Mapping failed job id to resubmitted job

  • August 2, 2018
  • 4 replies
  • 20 views

Forum|alt.badge.img

Is it possible when resubmitting a job to use the same job id? Just looking for programmatic way to keep track of if a resubmitted job was successful or not for reconciliation purposes.

I don't see anything in the resubmitted job log file about being resubmitted from x previous job or anything like that, but I certainly could be looking in the wrong place / type of log.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

nielsgerrits
VIP
Forum|alt.badge.img+60
  • 2937 replies
  • August 3, 2018

Not sure if this changed but I can't think of anything in server 2016.

Couldn't find a resubmit job action in the current API documentation either so I think the way for now is to query the jobs for failures, query the failed jobs, resubmit the failed jobs and add the previous job id to the new job in an optional published parameter. (In a Workspace using the API, not by hand.)

Re-using id's is a great way for misery, I wouldn't vote for that kind of solution.


Forum|alt.badge.img
  • Author
  • 14 replies
  • August 3, 2018

Not sure if this changed but I can't think of anything in server 2016.

Couldn't find a resubmit job action in the current API documentation either so I think the way for now is to query the jobs for failures, query the failed jobs, resubmit the failed jobs and add the previous job id to the new job in an optional published parameter. (In a Workspace using the API, not by hand.)

Re-using id's is a great way for misery, I wouldn't vote for that kind of solution.

I agree, I would rather not re-use an ID, but I need to have the traceability. Maybe adding another optional parameter would work for if it was resubmitted. Thanks!

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • 284 replies
  • August 3, 2018

Hi @colleenk_1

 

You're right that information to help trace resubmitted jobs would be helpful. We have a related idea over here. Would you consider adding some comments there as to what you'd like to see? Optionally, you can always create a new idea more focused on the specific feature you envision.

 

 

Thanks for your feedback!

 

Nathan

Forum|alt.badge.img
  • Author
  • 14 replies
  • August 3, 2018

Hi @colleenk_1

 

You're right that information to help trace resubmitted jobs would be helpful. We have a related idea over here. Would you consider adding some comments there as to what you'd like to see? Optionally, you can always create a new idea more focused on the specific feature you envision.

 

 

Thanks for your feedback!

 

Nathan
Definitely! Thanks, @NathanAtSafe