- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2018 06:29 AM
Hi,
On my custom table(Relocation request) form, I have a related list showing records that are created from UI action 'Create Incident'. I created below defined related list with below details. However when there are multiple records mapped to a single record in my custom table, multiple records in the related list should get highlighted, currently only one record is highlighted.
i have attached the details for reference.
Name: Incident in Relocation request
Applies to Table: Relocation request
Queries from table: Incident
Query with:
current.addQuery('sys_id', parent.u_incident);
Can anyone advise how this functionality can be fixed?
Regards,
Alok
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2018 12:56 AM
there is no need to write a script for that, all you have to do is create one reference field in incident and add that relation ship in your custom table

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2018 06:41 AM
Use M2M table on your table to get related records
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2018 07:05 AM
Hi Akhil,
I am new to service now platform. can you please elaborate a bit more?
Regards,
Alok

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-31-2018 07:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2018 06:00 AM