Activity Forums Salesforce® Discussions What is the return type of Future method in Salesforce?

  • Deepak

    Member
    February 14, 2020 at 1:44 pm

    HI Shweta,

    Future methods must be static methods, so we can only return a void type.

    Hope it helps!

  • Kirandeep

    Member
    February 14, 2020 at 1:45 pm

    Hi shweta,

    future method should have void as return type .

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos