The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How can we update the variables of request after submitting from service portal

Shivangnee
Tera Contributor

I want to edit variables of request after submitting the request from portal .

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Shivangnee 

Practically, the variable should not be updated once it has been entered or saved by the end user. However, if you still want to allow changes, the variable needs to be made editable at the REQ/RITM level, and then you can update its value. It works similarly to OOTB behavior. You should only add the variable editor at the RITM or SC Task level.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Anand2799
Giga Guru

Hi @Shivangnee ,

 

As Atul suggest it is not a recommended way to update the variables data submitted by users, however if you need to update the fields, you can make fields read-only on RITM and Catalog task (Make sure to add the fields on catalog task in flow designer create catalog task action).

Check if any client script or UI policy applied on catalog item which is making fields to read-only.

Validate the write permissions (roles) on the variable record.

 

Thanks

Anand

Ankur Bawiskar
Tera Patron
Tera Patron

@Shivangnee 

Ideally not best practice to allow updating the variable from reporting and auditing point of view.

but which user want to edit and which portal page?

share some screenshots.

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

M Iftikhar
Mega Sage

Hi @Shivangnee ,

By design, ServiceNow discourages editing request variables after submission for audit/reporting accuracy. If you still need to support it, the common approach is to make the variable editor available at the RITM or Catalog Task level and allow updates there.

From a technical side, variable values are stored in sc_item_option / sc_item_option_mtom, so you can update them programmatically (Business Rule, Flow, or background script). But it’s best to design a controlled way (e.g., through a UI action or task) rather than allowing direct edits in the portal.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.