Activity Forums Salesforce® Discussions Can we use SOSL in Salesforce triggers?

  • Anjali

    Member
    July 23, 2020 at 1:16 pm

    We can use SOSL in classes but not in Triggers.

  • Anuj

    Member
    July 23, 2020 at 1:24 pm

    SOSL queries are only supported in Apex classes and anonymous blocks. You cannot use a SOSL query in a trigger.

  • Kirandeep

    Member
    July 23, 2020 at 1:42 pm

    You cannot use a SOSL query in a trigger.

  • Marziya

    Member
    July 23, 2020 at 2:21 pm

    No

  • Manish

    Member
    July 23, 2020 at 3:45 pm

    SOSL queries are only supported in Apex classes and anonymous blocks. You cannot use a SOSL query in a trigger.

Log In to reply.

Popular Salesforce Blogs