can we create related list for same table ?

Kiddy1
Tera Contributor

can we create related list for same table ?

like incident table having incident table related lists?

1 ACCEPTED SOLUTION

Rohith Sabbinen
Mega Expert

Hi,



Yes, we can create a related list for same table,



Example: Add incidents by same caller related list.



Please refer link:.Add incidents by same caller related list



Thanks,


Rohith.


View solution in original post

4 REPLIES 4

Jaspal Singh
Mega Patron
Mega Patron

Hi,



Probably this link would help Many to Many on same table?



Thanks,


Jaspal Singh



Hit Like or Correct on the impact of response.


Rohith Sabbinen
Mega Expert

Hi,



Yes, we can create a related list for same table,



Example: Add incidents by same caller related list.



Please refer link:.Add incidents by same caller related list



Thanks,


Rohith.


Harsh Vardhan
Giga Patron

Hi



yes you can.


you can just try with steps below.



System Definition >> Relationship >> create a new relationship


Eg: i want to show the number of incidents that has been assigned for particular group.


so i just selected


Applies to table: incident


Queries from table: incident   // you can set the table as per your requirement . i just used incident on both



In Query with box mention the script below.



current.addQuery('assignment_group',parent.assignment_group);rel.png



now create a new incident and go to the configure> Related list and search your relationship name there and get it from available to the selected slush bucket.



related.png




now save it and create new incident and put some assignment group there and save it. then you will see the list of incident with same assignment group.




thanks harsha its very clear and helpful