Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Update record(s) with mrvs

emanueledep
Tera Contributor

Hi everyone!

I'm working on a catalog item and using an MRVS.

My goal is to allow the user to either update or create records within the table we're working on.
How can I set up the script inside my catalog item to enable both updating and creating records in the table?

Right now, it works, but the `sys_id` I use for the update is visible inside the MRVS. I'd like to hide it so it’s not displayed, or alternatively find another way to perform the update.

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@emanueledep 

You will require a reference variable without which your script won't know which record to update

why that variable is showing sysId?

the table being referred by that variable in MRVS doesn't have a field marked as Display=true?

Once you mark your field on that table as Display=true, you will see that field value instead of sysId

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

@emanueledep 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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