Skip to main content
harshal kulkarni preguntó en #Apex
Hi All,

When I have tried to execute the query as 

        "Select Id, Subject from ActivityHistory"

in 'Query Editor' from the developer console in the context of 'System Administrator'.

After executing the query, I got the error as  "entity type ActivityHistory does not support query"

Can anybody will help me how to solve this error?

Thanks 
1 respuesta
  1. 29 ene 2019, 13:31

    Directly it is not possible but through subquery you can do this - 

    Select Name, (Select Subject,ActivityType from ActivityHistories) from contact

    Thanks,

    Parmanand Pathak
0/9000