mark Posted November 2, 2017 Report Share Posted November 2, 2017 Is there a way to tell who set the status of a shot (or task)? There doesn't seem to be any relevant information from the event stream when the change occurs. Thanks! -Mark Link to comment Share on other sites More sharing options...
Lucas Correia Posted November 3, 2017 Report Share Posted November 3, 2017 Hi Mark, In an ftrack.update event the user who changed the status will be available in the source data. user_id = event['source'].get('user', {}).get('id', None) if user_id: user = session.get('User', user_id) To get who changed an entitie's status after that, you can query `Event`, filtering on the entity id and action='change.status.task'. See some examples of this in this snippet: API Examples - Working with events. Regards, Lucas Link to comment Share on other sites More sharing options...
mark Posted November 10, 2017 Author Report Share Posted November 10, 2017 oh, nice. 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.