Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Sort list order in Mobile App

Elena Pomana
Tera Guru

Hello,

 

I have an Approval screen with 2 Screen segments:

1. Pending: represents all pending approvals

It contains the "Pending approvals List Stream":

ElenaPomana_2-1673524206726.png

 

2. Completed: represents all completed approvals (both approvals/rejections).
It contains the "Past approvals List Stream"

ElenaPomana_1-1673524171433.png

 

My user wants to see the "completed" segment ordered by LAST updated and the "pending" segment ordered by due date. In order to complete the tasks I've tried the following:

1. As you can see in the pictures, to sort them by Interleaved field (descending) but it doesn't seem to work.

2. In the script part of Data item ("past contract approvals"):

ElenaPomana_3-1673524388641.png

But it doesn't work.

3. In the "Past approval item config":

ElenaPomana_4-1673524482303.png

Still doesn't work as expected.

 

I've tried the same steps for pending(with due date) but same results.

 

What am I missing?

 

Thank you,

Elena

 

 

 

 

0 REPLIES 0