Copy variables from submitted request to new created request before submitting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-18-2025 03:26 AM
In action widget we would required copy request button which will copy the variables from the request which is submitted to the record producer form before submitting...since the record producer form is having many variables..user dont want to enter the variables again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-18-2025 04:49 AM
What kind of record is it? If it's a request, normally it's not a record producer, but a catalog item. And requests rarely have any variables, since those are filled in to create a requested item.
And with a record producer, you often already map fields from the producer to the record, so those don't have to be copied as variables, but can just be a simple copy.field = current.field in the script.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-18-2025 05:27 AM
Hi @triveni8
Are you looking to implement a "Copy Request" button in an Action Widget (likely in Service Portal), which when clicked:
-
Retrieves variables from an existing request (RITM).
-
Prefills the Record Producer form with those variables.
-
So the user doesnāt have to re-enter all the data again.
Please confirm ??
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
ļ YouTube: https://www.youtube.com/@learnservicenowwithravi
ļ LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-18-2025 05:32 AM
Yes