If the orderBy function is used in a Defined related list, users can no longer order that related list.

Steps to Reproduce

  1. Navigate to System Definitions > Relationships.

  2. Click New.

  3. Create a new record with the following values:

    Name: Test Relationship User
    Applies to Table: Incident
    Queries from table: User (sys_user)
    Query with: current.orderBy("name");

  4. Open any existing incident and configure related lists.

  5. Add the Test Relationship User record.

    The related list will be sorted by Name, but you are uable to select any other column to sort on or change the sort direction.



After carefully considering the severity and frequency of the issue, and risk of attempting a fix, it has been decided to not address this issue in any current or future releases. We do not make this decision lightly, and we apologize for any inconvenience. If you have any questions regarding this problem, contact ServiceNow Customer Support.


Related Problem: PRB1266535

Seen In

Jakarta Patch 6a
Kingston Patch 3

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2019-05-21 11:41:02