Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Anyone know how to select the top 5 rows using a gliderecord query?

DrewW
Mega Sage

Anyone know how to select the top 5 rows using a gliderecord query? Trying to avoid a loop counter.

6 REPLIES 6

DrewW
Mega Sage

setLimit works, cool, thanks.


Christopher_Mal
ServiceNow Employee
ServiceNow Employee

Thanks.