Show Incident categories in order based on assignment group

Sai25
Giga Guru

Hi Team,

I am trying to show the categories based on the assignment group, it is working fine. But when I save it after loading the form its jumping the order.

Can you please help me on this.

Created the UI Policy to show this.

Sai25_0-1695383210793.png

Script:

g_form.addOption('category', '', '-- None --');

g_form.addOption('category', 'New Reporting Project', 'New Reporting Project',0);
g_form.addOption('category', 'Dashboard Modification', 'Dashboard Modification',1);
g_form.addOption('category', 'Dashboard Data Source Changes', 'Dashboard Data Source Changes',2);
g_form.addOption('category', 'Dashboard Issue', 'Dashboard Issue',3);
g_form.addOption('category', 'Other', 'Other',4);

 

 

Sai25_1-1695383303547.png

 

1 REPLY 1

Mayur2109
Kilo Sage
Kilo Sage

Hi @Sai25 ,

Make sure you are following the points mentioned in below KB article. Please verify.

Using the g_form.addOption method 

 

Please check and Mark Helpful and Correct if it really helps you.

Regards,
Mayur Shardul