Activity Forums Salesforce Questions and Answers What is the return type of Future method in Salesforce?

  • What is the return type of Future method in Salesforce?

  • Shweta

    Member
    February 14, 2020 at 1:41 pm

    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 .

Viewing 1 - 3 of 3 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos