Need a variable for multiple value inputs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2025 09:48 PM
I have a use case where customer need to copy multiple keys (string) from either excel or other text editors and they need to allow copy paste functionality in ServiceNow.
If 50 text keys are pasted in a text field in ServiceNow => how can I enable to consider these as individual keys and store in a target table/record?
Is there any variable which supports entering multiple values separated by comma or enter?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2025 05:33 AM
you will have to perform string manipulation and get those individual keys and then iterate and create record into the related table
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2025 01:02 PM
Hi @Vaibhav Sharma1,
If software entitlements are to be generated from this, then I unfortunately have my concerns that this will work. An entitlement requires more information than can be displayed in a single line.
I would rather recommend that the export corresponds to the “Software Entitlement Bulk Import Template” and that new entitlements are created via a standard interface with appropriate error handling.
Best, Dennis
