List Collector populating
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 11:41 PM - edited ‎03-14-2024 11:41 PM
Hello developers, i have a requirement to populate list collector(multi selection) values in another text filed
Another req is , pass them to script include, Any suggestions is appreciated, Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 11:48 PM
Hi @servicenow14710 ,
you can simply use current.variables.list_collector_field_name.getDisplayValue(); to populate in text field.
for passing it to script include directly u can use the same way(without .getDisplayValue()) as it contains comma seperated sys ids as an output.
Thanks,
Danish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2024 11:48 PM
Hi @servicenow14710 If i understand, you want to populate values on the string field from a list collector variable through script include and client script?
Harish