List Collector values Dot Walking

Anubhav24
Mega Sage
Mega Sage

Hi All,

 

I am working on obtaining the values from a list collector and once I split and obtain the individual values by looping through the individual values. I have two queries:

1)What is the most efficient way to loop through all values.

2)Once we have the individual sys_ids , can we dot walk them and obtain other values or is dot walking not possible when sys_ids are retrieved from list collector.

 

 

8 REPLIES 8

@Anubhav24 

if your variable is reference then you can dot walk and get the field values

But not possible to dot walk for list collector as I already shared above

Approach using script already I shared.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Anubhav24 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Anubhav24 

Hope you are doing good.

Did my reply answer your question?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Anubhav24 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

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