Choices are not displaying as per the sequence given but displaying as per alphabetical order

Swetha Guligari
Tera Contributor

Hi All,

I have to create a variable in record producer which should allow multi selection of the choices. So i selected the type as list collector and table as sys_choice and created choices in sys_choice. It's working fine but it's not getting displayed as per the given sequence but in Alphabetical order. Client wanted the choices to be displayed in the given order only. How do i do it.

Regards,

Swetha

7 REPLIES 7

You are right. This will work, although it will create issues in the future. If next year choices are going to be renamed, added, removed, etc., someone will also have to think about changing the script. And since no one remembers, choices aren't showing up and nobody can think of why.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

AkshayKangankar
Giga Guru
Giga Guru

Hi @Swetha Guligari 

Give sequence as required in sys choice table then add below Variable attribute
ref_ac_order_by=sequence

 

Regards,
Akshay

Thanks issue sorted