Skip to content
Bug Barometer

Custom lookup field on the Activity sObject is not showing field on Add Related Object section

Not fixed yet. Salesforce has scheduled a fix.

Summary

As documented in the doc Set Up an Enhanced Timeline in Health Cloud under "On the Timeline Related Objects page, click Add Related Object":

  • Select the field that associates the related object with the base timeline object
  • If a related object has only one lookup to the base object, then the field is auto-selected and can’t be changed

But adding a custom lookup field on the Activity object and use this field in the 'Field' section of the Add Related Object configuration in the Enhanced Timeline is not working as expected.

The scenario is to add a custom lookup on Activity to say, Opportunity. Create a Timeline Configuration with Opportunity as the base object. Use Task as the related object, and the 'Field' section is auto-filled with WhatId (a standard lookup to Opportunity on Task). The custom field is grayed out and cannot be selected at this step.

However, in the next step—'Set Record Visibility'—the custom Opportunity__c lookup field from the Activity object is available and can be used in conditions.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as Solution Scheduled

    Nov 30, 2026

Also open in Public Sector Health