I have a pull from list activity where I want to apply a custom code query in the query field. The query I want is as follows:
There are two expression fields on the list entries. First one is "flag" and the second one is "utilization". I only want to pull those entries whose utilization is less than 95. But I want to do this check for only those entries whose flag is equal to zero. For all other entries whose flag is non-zero, I don't care about its utilization, I will simply pull it no matter what the utilization.
What should I write in query field to achieve this?
Also, is there an Onpull trigger inside the pull activity that I can use to update some global table values when a pull occurs?