- August 12, 2019 at 2:22 pm #60855Yogesh #22
How can I relate Activity to a second object in Salesforce?
The activity has a ‘related to’ field that links it to an object of various types. I need to link each activity to a Campaign, but also to an Opportunity. However, Activity custom fields don’t let me add a lookup relationship in Salesforce.August 12, 2019 at 2:46 pm #60863Deepak #14
SFDC does not allow this currently. You cannot add lookup fields or junction objects to Tasks to enable what you want to do.
Workaround today include creating your own Task object and recreating Task functionality. This is how Milestones PM Application on AppExchange works.
You can relate a Task to multiple Objects in the System. Gives you flexibility to cusotmize however you want within confines of Force.com. Formula Fields, Roll Up Summaries, etc.
You lose ALL the special features of Activities like:
Outlook Integration Popups (Nag Boxes) for Task Reminders Activities History Rollups on Account Activity Archiving etc.
Please Register to reply to this topic. /