Create RITM based on excel attachment

mipalm
Tera Guru

Hi, 

I am developing a form to onboard multiple users via excel file.

This excel file will contain the users first, middle and last name, the user type and other fields that are to be pasted onto the new RITM.

I can't seem to isolate a single row with the GlideExcelParser, only columns.

Anyone knows how this can be done?

 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, with no details of your code\configuration\example file, it's not really possible for the community to evaluate your issue. Are you using the method getRow() method?

GlideExcelParser - Scoped, Global | ServiceNow Developers

Perhaps you could share details of your code (as plain text) so that it can be reviewed\. 

Sumanth16
Kilo Patron

Hi @mipalm ,

 

you would require an after insert business rule on sc_req_item table with condition as Catalog Item is yours and if it has attachments

you need ExcelParser script to parse the excel row by row and create RITM with all the variable info

https://developer.servicenow.com/app.do#!/api_doc?v=newyork&id=GEPS-GlideExcelParser

this link will help you as well

https://community.servicenow.com/community?id=community_article&sys_id=9ed305e2db63fb845129a851ca961...

Script to create RITM with variable info

https://community.servicenow.com/community?id=community_question&sys_id=928a9f4ddb73ab805ed4a851ca96

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda