Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

UI builder Data visualization Sorting Script

Mikkel4
Tera Contributor

Hi all

 

I am trying to control the sorting of a vertical diagram, where I need to group by two columns.

To my experience, does the sorting functionality work very poorly when you add multiple columns, and thats why I want to control it via a script.

 

I would like to sort by State value first and following by a given month.

Mikkel4_0-1683639928856.png

I honestly do not know where to start with the script.

Mikkel4_1-1683640113092.png

 

 

1 REPLY 1

Joshua Jackson
Tera Expert

What component is that? If you're using the dashboard component then the sorting is limited to the actual element. Where is the script screenshot from?