Show Incident categories in order based on assignment group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 04:49 AM
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.
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);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 05:16 AM
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