Activity Forums Salesforce® Discussions Can we pass sObjects in Future method as parameter?

  • Can we pass sObjects in Future method as parameter?

    Posted by Manish on January 22, 2020 at 9:54 AM

    Can we pass sObjects in Future method as parameter?

    Pooja replied 6 years ago 4 Members · 3 Replies
  • 3 Replies
  • Arun

    Member
    January 22, 2020 at 10:21 AM

    Hi Manish,

    No, It is not possible to pass a sObject as parameter  future method in Salesforce.

  • Ayush

    Member
    January 22, 2020 at 11:19 AM

    No, The  object can change between the time you call the method and the time it actually executes.Because future methods are executed when system resources become available.

  • Pooja

    Member
    January 22, 2020 at 1:05 PM

    No, there is no direct way to pass sObjects in future method as parameter.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos