- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 09:46 AM
I have a list collector field on a catalog item where a user can select a product. The display value of the product is its name, and using the ref_ac_columns variable attribute, I am able to also display its product code, which works exactly how I want it to.
I'm then taking the selected values and I'm listing them in the Description field of the resulting ticket via script in its workflow... the problem I'm having is that I can't figure out how to also include the product code along with the name for each selected product, so they will be written like Product 1 P0001, Product 3 P0003, Product 5 P0005, etc. Is there a way to do this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 11:10 AM
@Chad7 Please refer to this thread https://www.servicenow.com/community/developer-forum/list-collector-reference-dot-walking/m-p/165695... where the author has suggested to extract the sys_ids array from list collector field, loop through the array and inside the loop do a glide record to the table to extract values of Product id and name fields. You can add these values in the description inside the loop.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 11:10 AM
@Chad7 Please refer to this thread https://www.servicenow.com/community/developer-forum/list-collector-reference-dot-walking/m-p/165695... where the author has suggested to extract the sys_ids array from list collector field, loop through the array and inside the loop do a glide record to the table to extract values of Product id and name fields. You can add these values in the description inside the loop.
Hope this helps.