AWS Thinkbox Discussion Forums

job info file with Event opt-in?

Is there a way to specify the event opt-ins in the job info file?

Not at this point, we will add that to the wishlist. A possible work around for now could be to have an event plugin that handles onJobSubmitted and modifies the job’s Event Optins at that time. Here’s an example of what part of that script could look like:

def OnJobSubmitted(self, job): optins = [] optins.append("Shotgun") job.Properties.EventOptInArray = optins RepositoryUtils.SaveJob(job)

ok, so I’m able to create another event that adds the event opt-ins as you describe. However, I’m facing another issue where the OnJobFinished event is not firing in the OptIn event (I’ve posted that issue in the bug reports forum). After the job finishes, I check the job properties and indeed the event opt-in is set on the job for that event.

Privacy | Site terms | Cookie preferences