Salesforce: Identifying Type of Object For Exported Task Record

During data import, there are some object export that are related to another object. The object relationship is only referenced using ID, hence, it’s impossible to identify the object type that it’s related to.

Here we would like to share the parameter you should use to know the object type that is related to Task. The following is a data export of task record.

 

ID WHOID WHATID
00U1000000IYSMnWAP 0021000000StCDiBTW 0049000000qMsarCNT

 

To get the associated object:

 

ID WHOID WHATID WHO.TYPE WHAT.TYPE
00U1000000IYSMnWAP 0021…DiBTW 0049…arCNT Contact CCase

 

From the above, you will see the event is related to the contact and case object.