List collector variables not populating on Native UI page once the request is submitted

Aravind Prasann
Tera Contributor

Hi , I have a catalog item where I am populating the values on the list collector variable based on the selection of a field. It is working as expected in Service Portal but when the request is submitted and looked at the Native UI page of the RITM, the list collector variables are blank and not displaying on the right side of the bucket. could someone please help with this issue i need to move all the options available on the left bucket to right side of the bucket? Attaching screenshots below for reference.

Native UI page i am getting like this once the RITM is submitted :

find_real_file.png

 

Client script:

find_real_file.png

 

Script Include used to populate the list collector variable:

 

find_real_file.png

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Uncheck the box

Applies on Requested Item as it is not required to run script on RITM form

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

5 REPLIES 5

Shruti
Mega Sage
Mega Sage

Hi,

Seems like values are getting cleared for list collector 

please move 8th and 9th line of your client script after 2nd line

if(isLoading||newValue==''){

g_form.clearValue('application_instance');

g_form.clearOptions('application_instance');

return;

}

Hi, Thanks for your reply. Looks like that is not the issue, as it still not moving to the right side of the slush bucket

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Uncheck the box

Applies on Requested Item as it is not required to run script on RITM form

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thank you very much Ankur !