AnsweredAssumed Answered

Hard code a Definition Query clause when using Tasks in Pro

Question asked by ngaspard on Aug 16, 2017
Latest reply on Aug 22, 2017 by shantanu9031

Can you set up a feature layer definition query as a step in a Task without having to manually input the SQL clause?  Is there a way to hardcode the clause and pass it into the into the Definition Query automatically?  For example, in one of the steps of my Task, I want my layer to have a definition query set up where my field CCTV_Status = Complete but I don't want the user to have to set up the query themselves as it will never change.  By the way, I am using ArcGIS Pro 2.0.