+ Start a Discussion

Duplicating the WhoId & WhatId

Is there anyway to duplicate the functionality of the WhoId or WhatId? That is an Id field that can lookup to multiple types of sobjects?
No, not in a custom object.  Nor would you necessarily want to, honestly -- you'll notice that those fields (called polymorphic fields) do not support relationship queries or cross-object workflow or anything like that.  You don't want that.
I didn't think so. since i don't need any additional functionality (cross object workflow, relationship queries, etc) i would love if this was a future. not a big deal in the end, as i will just use multiple lookups and then determine which field is used