How can we update the variables of request after submitting from service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
I want to edit variables of request after submitting the request from portal .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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.