- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 10:14 PM
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 :
Client script:
Script Include used to populate the list collector variable:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2022 12:34 AM
Hi,
Uncheck the box
Applies on Requested Item as it is not required to run script on RITM form
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 10:26 PM
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;
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2022 11:56 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2022 12:34 AM
Hi,
Uncheck the box
Applies on Requested Item as it is not required to run script on RITM form
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-22-2022 06:02 AM
Thank you very much Ankur !