Need a variable for multiple value inputs

Vaibhav Sharma1
Tera Contributor

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?

6 REPLIES 6

@Vaibhav Sharma1 

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.

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

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

 

Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.