Appian Dual Sorting

Certified Lead Developer

Hi Team,

We are facing an issue when we try to fetch the data through a query entity with a specified column sorting. When we execute the expression we specify the column on which sorting needs to happen. But when we get the result back we see two sorting columns in the result set.

Is there any reason that might cause this? This is causing us perfomance issues

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Piyush Vaswani

    I'm not sure it's an "error" still, I believe it simply has to do with using a sort column that is not unique - thus the PKID is automatically included to introduce some consistent sorting order, because otherwise different query executions would return apparently-different sorts when sorting by a column where multiple rows can have the same value (i believe this behavior was observed in the past and people complained about it, so this behavior was introduced as a way to fix it).  I stand behind my belief that it's unlikely to ever cause noticeable performance issues, even in heavy queries.

Children
No Data