Hi all,
What kind of language / syntax required for querying objects, from Management Console? By clicking Tools > Find object > query
			
			
			
				It's similar to object query dashboard element: NXSL script is executed for every node in the system and if script return true - iti will be included in the list. 
Some examples:
1:
 haveAlarms = { return $node->alarms->size > 0; }
type == NODE and haveAlarms
2:
type == NODE and name match "^EPE.*"
3: 
true
Last will return all objects
			
			
			
				1:
 haveAlarms = { return $node->alarms->size > 0; }
 type == NODE and haveAlarms
Above query mistake.
Corrected^
with
haveAlarms = { return $node->alarms->size > 0; }
type == NODE and haveAlarms