Does not end with operator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 04:02 AM
Hi,
We have a requirement for filtering out the location names that does not end with some key words like CA,JP etc.
Using it mainly in the filter condition of a report. Please let me know your view how can we achieve it.
Regards,
Dedeepya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 04:26 AM
Hi,
You can have your own custom filter. such type of filter is not present in the system out of the box i.e. does not end with.
Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 04:31 AM
Use Is operator and call script include something like below and write complete logic in script include using regex to get the locations doesn't end with xxx..etc.
Name is javascript: new ValidateLocation().notEndWith()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-11-2017 10:38 PM
Thanks for the quick reply Raju. I thought about the same but not sure how to get the names that does not end with particular key words.
Can you please post here if you know any of such Regex methods.