How to change job name via scripting

Running:

job.JobName='NEW NAME'

form the inside of Deadline Event’s OnJobSubmitted() does not change the job name.
If same command is run from inside of OnJobFinished() method it sets a new job name and this change is immediately updated in Deadline Monitor.
How to make job.JobName(“NEW NAME”) command to work in OnJobSubmitted() method as well?

Using Deadline v7.2.0.18 and this is working just fine for me. See attached to this post an example event plugin which I was using. Any difference between your code and mine? Feel free to post some code. I’ll get this example uploaded to our GitHub example site:
github.com/ThinkboxSoftware/Dea … tom/events

OverrideJobName.zip (2.48 KB)