In the draft event configuration, I’ve set the default group to “draft”, but when the event creates new jobs, they don’t get assigned this group.
There are no errors in the job creation event.
Has anyone else had this issue?
Hello!
Which DCC are you rendering with and submitting the dependent job from? Draft job pulls the group from the event plugin configuration of Draft. Make sure you have the group name added under Monitor > Tools > Configure Events > DraftEventPlugin > Draft Group.
When a job finishes and run DraftEventPlugin to create a Draft job, it pulls the group here in “DeadlineRepository/events/DraftEventPlugin/DraftEventPlugin.py” #113:
draftGroup = self.GetConfigEntryWithDefault("DraftGroup", "").strip()
draftPool = self.GetConfigEntryWithDefault("DraftPool", "").strip()
If you have set the group under event configuration, then you can try adding a print statement in it to return the group name:
print(draftGroup)
Feel free to share the logs from the Worker which ran the last task and finsihed the job as the OnJobFinished callback is run by the machine marking the job as completed.
Thanks Karpreet.
It turns out the plugin hadn’t synced after all. It seems to work now.