Multiple records in the related lists.

Alok21
Giga Expert

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

 

1 ACCEPTED SOLUTION

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

View solution in original post

17 REPLIES 17

Akhil Vinay Ma1
Kilo Guru

Use M2M table on your table to get related records

Hi Akhil,

I am new to service now platform. can you please elaborate a bit more?

Regards,

Alok

Hi Akhil,

I created m2m relationship as per attached, however when i am configuring the related lists in the form I am not able to see the m2m i created.

Can you please advise what could be the possible reason?

Regards,

Alok