Query FAQs
Top  Previous  Next
Other questions about custom queries have been answered in the FAQs below:

Q. How does Pupil Tracking compile a list of scheduled queries for execution?
A. PTP will firstly compile an array of all queries for execution by gathering the IDs of all the individually scheduled queries and the IDs of the queries contained in the scheduled query groups e.g. (5,5,5,8,8,2,1,16,16). It will then ensure that the array only contains unique IDs e.g. (5,8,2,1,16). Finally it will sort the array and execute the queries in that order e.g. (1,2,5,8,16).

Q. If I have scheduled a custom query which is also part of a scheduled query group, will the custom query be executed twice?
A. No. If a custom query is scheduled individually and as part of a group it will only be executed once.

Q. If I include a custom query in more than one query group how many times will it be executed?
A. Scheduled queries will only be executed once regardless of how many groups they appear in.