how to refresh a embeded list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2016 05:01 AM
I need to refresh the embeded list( of table pq) which is kept on other table(xyz) form. I am inserting values of xyz into the pq table with mapping fields through script.
The values are inserting into the table pq but its not showing in the embeded list on time. When I am reloading the page ,the values are shown in the embeded list.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2016 05:28 AM
I have another query related to embedded list,
Can I write the script in System Definition->Relationships using refine Query(current,parent) function to control the set of records of embedded list on the xyz table form?
I need to show specific records of embedded list based on xyz table records.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2016 05:37 AM
Hi Tindra,
The answer is yes. As an example, I have taken the defined relationship "Incidents by same caller", usually set up as a related list and made it an embedded list on the incident form.
Reference: http://wiki.servicenow.com/index.php?title=Creating_Defined_Related_Lists

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 03:24 AM
Hi Chuck,
I have same requirement. can you please guide me? i have written my script and i don't know why it is not working?
i have a form there i have added an embedded list . now based on form value, it should show the record in embedded list.
in relationship ,how my script will populate the value in embedded list.
lot's of confusion i have on embedded list.
Please suggest ctomasi
Thanks,
Harshvardhan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 05:28 AM
Think of an embedded list much like a related list. You are creating related records to the current record the list appears on. The only difference is that with a regular related list you need to first create the parent record before you get the related list with which to put child records.
With an embedded list, it's more like fields on a the same form. You are still creating related records, but they are queued up and not saved until the form itself is saved. If you enter a new form with an embedded list and enter a bunch of values in the form and embedded list, nothing is saved until you submit the form.
I hope that helps tell the difference.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2017 06:39 AM
Agreed
if i want to populate some value based on the form field. what would be the best approach.
after business rule or before business rule , if you have any other suggestion please let me know.
by the way i had tried with after as well as before business rule but both are not working.
how "System Definition->Relationships" will help to populate the value in embedded list?
Thanks,
Harshvardhan