![elsawin additional information start central query elsawin additional information start central query](https://i.ebayimg.com/images/g/iQoAAOSwsHhfx~J5/s-l400.jpg)
For more information about text index groups, see Configure multiple tables for indexingĭescribes the operators that can be used within an addQuery()
![elsawin additional information start central query elsawin additional information start central query](http://4.bp.blogspot.com/-fijaDvdrFAI/VePwkXRBfKI/AAAAAAAADUU/sWPbJN9poc8/s1600/ElsaWin-V4.0-installation-34.jpg)
A text index group is a group of tables that the system indexes togetherĪnd searches across. Use the '123TEXTINDEXGROUP321' reserved value to search for a string in a For example, instead of addQuery(), you can also use Parameter in the addQuery() method, or you can use it in an encoded query '123TEXTQUERY321' is a reserved value for the name var now_GR = new GlideRecord('incident') ForĮxample, this script returns records from the Incident table that include the 'email' Use the '123TEXTQUERY321' reserved value to query a single table. } Return records in a table based on a keyword
ELSAWIN ADDITIONAL INFORMATION START CENTRAL QUERY CODE
add code here to process the incident record Target.query() // Issue the query to the database to get relevant records var target = new GlideRecord('incident') Would provide the operator that you want to apply to the Incidents where the priority field is greater than 1. For this reason, youĭo not need to provide an equality operator. Queries where you want to find records with a field equal to a value. In general, most queries that you want to perform are equality queries This line indicates that you only want the records where the priorityįield is equal to 1.
![elsawin additional information start central query elsawin additional information start central query](http://docplayer.net/docs-images/95/124525392/images/10-0.jpg)
Notice that the example script includes target.addQuery('priority', 1).