Activity Forums Salesforce® Discussions What will be the SOQL query for fetching all tasks whose What Id is pointing to an Opportunity?

  • Achintya

    Member
    August 13, 2019 at 7:59 am

    Code:

    select id, whatid from task where what.type = 'Opportunity'

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos