Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 11:26 AM
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 11:28 AM
You can use setLimit(10) method
var gr = new GlideRecord('sn_customerservice_case');
gr.orderByDesc('sys_created_on');
gr.setLimit(10);
gr.query();
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-24-2023 11:28 AM
You can use setLimit(10) method
var gr = new GlideRecord('sn_customerservice_case');
gr.orderByDesc('sys_created_on');
gr.setLimit(10);
gr.query();