Executing multiple queries simultaneously or sequentially

953
2
07-08-2017 11:29 AM
EvonFranklin
New Contributor III

Is it possible to execute multiple queries with a single call to QueryTask or will I have to set up multiple QueryTask and query objects?

Tags (1)
0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Evon,

   Each one has to have their own Query and QueryTask but you can use Dojo Alll to wait for all the queries to return before working with the results.

EvonFranklin
New Contributor III

Understood, I was just wondering if there was some way that I happened to miss.

0 Kudos