+ Start a Discussion
Praneetha MurakondaPraneetha Murakonda 

How to create Junction object to create relationship between Task and Account?

Hi All,

I need to create a many to many relationship between Tasks and Accounts. The goal here is to relate many Accounts to a single Task  ex: "Task1 can be associated with Account1 [Uisng Related To field of Task]  and need to associate with Account2, Account3 and Account4." I understand that we cannot create more than one custom field related to Account for Task.

Is it possible to create junction object [Task ----> JunctionObject <--- Account].
Please let me know if there is any workaround.


NagendraNagendra (Salesforce Developers) 
Hi Praneetha,

Please check with below solution posted on stack exchange community with a similar issue. Please mark this as solved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Best Regards,
Surbhi SinghSurbhi Singh
Hello Praneetha Murakonda,

You can Create a junction object  like [Task ----> JunctionObject <--- Account]. In this way you can track Multiple Accounts under a Task as well as for Tasks.