function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Felix Jong Seok ChaeFelix Jong Seok Chae 

create manytomany relationship among same type of objects

I tried to implement the feature where one case object stores many case objects in its field and any case object can also have multiple case objects. I was trying to use following ways, each of which has some problem:

1. can't use related cases field because once a case's parent is set up, it can't be related to another case as each case can have at most one parent case.
2. can't use a junction object as I'm connecting two same type of case objects.

Is there any other way to achieve this feature?

Thank you
HARSHIL U PARIKHHARSHIL U PARIKH
Are you saying you need a behavior where one case can be attached to multiple parent cases? Because right now the way salesforce is set up is that one case record can have only one parent case but one parent case can have multiple child cases (related cases).