What's the difference b/w next() and hasNext()?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2014 06:53 AM
- 32,274 Views
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-11-2022 10:56 PM
may I have any good example related to next() and hasNext()

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-12-2022 06:15 AM
You can check my reply above or take a look at the GlideRecord documentation for examples: next()
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2022 10:16 PM
I am a learner on service now and i want to set a regex on name field. please help me in this case
condition is that you should not enter any other character rather than a-z, A-Z and space only