AutoPopulate field value from one table to another table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:11 AM
I want to Auto populate one field value from "xyz" table to incident table field and the record for that "xyz" table is created through a hyperlink. How can I achieve this thing from script? Please suggest some ideas.
This field value I want to auto populate in incident field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 02:21 AM
@Nafisa Zaman
I guess the ui action is a serverside script。below steps may help you .
1. Change it to client side.
2. create a script include to create the xyz recrod , and call it via a ajax function and receive the number.
3. use g_form function to fill the Number field.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 02:14 AM
How is xyz table related to incident?
is there any field on incident table which refers/holds xyz information?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 03:02 AM
When an incident is resolved after that user should fill the feedback form,after completing survey a new record will get generated in XYZ table. So In this xyz table one field value should be auto populating in Incident field