
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2023 09:45 PM
I have cloned the sc order status widget, tried to set the orderby to the request item number field but I just can't get it to work.
Anyone know how I can do this?
Adding it to the option schema so you can choose based on the field would also be great, but not that important, I just want it to order by RITM really.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 12:45 AM
Hi @Moedeb
Let's try to add this line into your cloned widget.
reqItemGr.orderBy('number'); //Line 111
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2023 10:22 PM
so what did you try so far?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 12:45 AM
Hi @Moedeb
Let's try to add this line into your cloned widget.
reqItemGr.orderBy('number'); //Line 111
Cheers,
Tai Vu

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2023 02:19 PM
Thank you @Tai Vu that worked perfectly 🙂
I had tried something similar, just had it in the wrong spot 🙂