From inside of Deadline Event’s OnJobSubmitted() method
I am able to get a Job’s Limit Groups by running:
limitGroupsVariable=job.JobLimitGroups
The resulting “limitGroupsVariable” is IronPython’s System.String[] type variable.
Now I want to append an additional Limit Group name "MyLimitGroupName’ as a string to this variable.
Running a line below results an error:
limitGroupsVariable.append("MyLimitGroupName')
Question:
How do we append another Limit Group name to this variable so it could be used to modify the Job’s Limit Groups with:
job.SetJobLimitGroups( limitGroupsVariable )
RepositoryUtils.SaveJob(job)