0

Field must not contain the value supplied anywhere in the field. The example in below code will get all records where the short_description field does not contain the text 'Workingcode.in' anywhere in the field.

addQuery('short_description', 'DOES NOT CONTAIN', 'Workingcode.in');

Use of JavaScript Operation DOES NOT CONTAIN in ServiceNow
Working Code Asked question November 24, 2023