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

Ankur Bawiskar
Tera Patron
Tera Patron

@Vaibhav Sharma1 

this is for catalog form?

You can use HTML type variable and they can copy past from excel and give it in that variable. If they copy a table from excel then it comes as table in that variable

But if they select 50 keys then it cannot be separated into individual ones OOB

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

No this is not for catalog form, I need to use this in catalog task form inside an RITM

@Vaibhav Sharma1 

no such field type can help other than HTML

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

Considering HTML type field on task, if I have 3 keys copied from excel and pasted here in separate lines.

VaibhavSharma1_0-1738349672569.png

 

Now, how can I store these key values in separate records on alm_license table?