0

Field must end with the value supplied. The example in below code will get all records where the short_description field ends with text 'Workingcode.in'.

addQuery('short_description', 'ENDSWITH', 'Workingcode.in');

Use of JavaScript Operation ENDSWITH in ServiceNow
Working Code Asked question November 24, 2023