• #60855
    Salesforce | Yogesh Yogesh #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.


    Salesforce | Deepak Deepak #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.

Viewing 2 posts - 1 through 2 (of 2 total)

Please to reply to this topic.

Popular Salesforce Blogs


We're not around right now. But you can send us an email and we'll get back to you, asap.


About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2020 Forcetalks. All Right Reserved.

Log in with your credentials


Forgot your details?