how to refresh a embeded list

alvatindra
Giga Contributor

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.

20 REPLIES 20

If you are creating or updating records in a related list (including embedded list) then you should go with After business rules.



Business Rules Best Practices - ServiceNow Wiki  



System Definition> Relationships is a way for you to define a related list based on script or filter an existing table (w/script). I haven't tried placing a defined related list on a form as an embedded related list. Interesting use case.


Hi Chuck,



I have written after Business rule and it's updating in the table. but the result is not reflecting in embedded list


once i select the value and submit the form it should so the result in embedded list.   script is perfectly fine. i checked in "Script-Background" as well as i have checked in log.




Thanks,


Harshvardhan


Can you add a info message in the business rule and see if it getting executed or not?


I did that also. even the values are updating in the table. but i don't know why it's not coming in embedded list


Can you share the business rule you are using?