bryand Posted July 17, 2014 Report Share Posted July 17, 2014 Hi, Am I doing this wrong. I want to set a shot's status to "pending review". I get the correct shot and all other info but this keeps erroring out. import ftrackshot = ftrack.getShot(shotpath.split("/"))statuses = ftrack.getShotStatuses()for s in statuses: if s.getName() == "Pending Review": shot.setStatus(s) break FTrackCore.api.ftrackerror.FTrackError: The status is not valid for this object ThanksBryan Link to comment Share on other sites More sharing options...
Mattias Seebergs Posted July 17, 2014 Report Share Posted July 17, 2014 Hi Bryan, From the error message it looks like the Pending Review status type is not added to the workflow schema. Make sure it is added and get back to me here if you still have problems. Mattias Link to comment Share on other sites More sharing options...
bryand Posted July 17, 2014 Author Report Share Posted July 17, 2014 Yip that was the problem the project was setup on a different schema. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.