I’m wondering how I can change the Group or a Pool of a job after it failed to render.
My solution is that in the plugin script, I’m checking the error code, and if it isnt 0, I will change the jobs “Group” and fail render so that it gets picked up by different slaves.
The only issue is that I dont know how to change the “Group” with deadline API.
The code I have been using is:
self.GetJob().JobGroup = "high_spec"
But it doesnt seem to work. I also cant find any other method in the API that would allow me to modify this property. I can print the existing group just fine, but cant modify it.
Any help would be appreciated!