0

I have requirement where in WhatId should be able to display parent name(label) in formula field, i have tried using what.Name in formula field but it displays an error.

The below code fetches the 15 digit id of respective parent. IF( NOT(ISNULL(WhatId )), WhatId, '')

so far the solution given in the other links are possible by using trigger but i dont want to use triggers.

6
  • As WhatID could be a bunch of objects. I believe you cannot use it in a formula
    – m Peixoto
    Oct 18, 2019 at 10:12
  • @m Peixoto thanks for your reply can u suggest me any alternate work around except trigger.
    – vishal
    Oct 18, 2019 at 10:14
  • Maybe, a Process builder....
    – m Peixoto
    Oct 18, 2019 at 10:16
  • @m peixoto i have checked using process builder too it shows only id.
    – vishal
    Oct 18, 2019 at 10:34
  • 2
    you could create a Process Builder that call a Flow, In the flow, you can query the object that you want and update a field, for example...
    – m Peixoto
    Oct 18, 2019 at 10:44

0

Browse other questions tagged .