How to sort the reference variable in DESC order in Catalog item
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2023 07:44 AM
Hi team,
How to sort the reference variable in DESC order in the Catalog item.
Regards,
Manasa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 05:39 AM
hey, that works, but only in ascending order, any idea on how to do descending order? i tried adding ^DESC in the end, but didnt work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2025 06:15 PM
Hi OP/jennv
did you find a solution for descending order sorting?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2025 01:07 AM - edited 06-26-2025 01:08 AM
hi @PrathamjeetS ,, yes i found it. i created a business rule in the table where my reference variable is. Configured like this:
when: before
on Query
in the script write:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 02:40 PM
Hi @jennv,
Thank you and confirming that this is the correct approach. The only thing is that it did not work for me using the 'sys_created_on' date so I just used the 'number' field to sort which worked perfectly.
