zdimaria Posted May 16, 2017 Report Share Posted May 16, 2017 I'm having trouble figuring out how to set the filters properly. We need to show all of our shots which have a Tracking Task with a Complete State AND show Lighting Tasks for those shots in ANY State. So basically, how do you group a Type filter and State filter together? Right now it seems its just applying any filters to everything. I've tried adding a second Type and State filters, but how do I link them together? To clarify a bit, how do you AND and OR filters? I see the advanced filters but there is no way to AND or OR that I can see? So how to do: Task Type is Tracking AND Task Status is Done OR Task Type is Lighting Link to comment Share on other sites More sharing options...
Mattias Lagergren Posted May 16, 2017 Report Share Posted May 16, 2017 This is doable through an advanced filtering technique using the API syntax: http://ftrack.rtd.ftrack.com/en/stable/using/filtering.html#filtering-using-api-like-queries Adding the following as a Task query filter should show you any lighting task on shots where the tracking task is approved. type.name is lighting and parent.children any (type.name is tracking and status.state.name is DONE) Link to comment Share on other sites More sharing options...
zdimaria Posted May 16, 2017 Author Report Share Posted May 16, 2017 Awesome, this is great. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.