what is _next() in servicenow

renu8
Giga Contributor

what is _next() in servicenow

5 REPLIES 5

Tanaji Patil
Tera Guru

It's a funtiion of GlideRecord call similar to next().
_next() be useful when you have a table field/column name as "name". Otherwise its same as that of next().

 

Moves to the next record in the GlideRecord. Provides the same functionality as next(), intended to be used in cases where the GlideRecord has a column named next.

 

-Tanaji

Please mark correct/helpful if applicable

Prateek kumar
Mega Sage

Here is the official Doc for your question:

https://developer.servicenow.com/app.do#!/api_doc?v=newyork&id=r_GlideRecord-_next


Please mark my response as correct and helpful if it helped solved your question.
-Thanks

Megha Padale
Giga Guru

 

Hi renu,

_next() is method similar to next() in GlideRecord.

Moves to the next record in the GlideRecord. Provides the same functionality as next(), intended to be used in cases where the GlideRecord has a column named next.

Please refer this link:

https://developer.servicenow.com/app.do#!/api_doc?v=madrid&id=r_GlideRecord-_next


If my answer is helpful to you, mark answer as helpful and correct.

Thanks and regards,

Megha.

Service_RNow
Mega Sage

Hi,

follow this link:

https://developer.servicenow.com/dev.do#!/reference/api/newyork/server_legacy/r_GlideRecord-_next

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy.

Thanks,