DESC order on Number for 'Data Table from URL Definition' widget

faro
Tera Expert

Hi,

I'm not able to see where exactly to set the order the list gets presented.

I would like it ordered Desc, based on Number.   Table = incident

Thanks.

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

you should be able to do following the steps below:

  • go to ctrl+right click on the list header > Instance Options
  • in the "Filter" text area, add this to your query:
active=true^ORDERBYDESCnumber^EQ

Hope this will fit your need!

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

View solution in original post

2 REPLIES 2

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

you should be able to do following the steps below:

  • go to ctrl+right click on the list header > Instance Options
  • in the "Filter" text area, add this to your query:
active=true^ORDERBYDESCnumber^EQ

Hope this will fit your need!

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

faro
Tera Expert

That worked, thanks.

   (I had to apply it to the widget [Simple List] with 'View all' link at the bottom and this sorted my data displayed by the 'Data Table from URL Definition' widget)