Activity Forums Salesforce® Discussions How can i send Web Request after insert operation?

  • Manpreet

    Member
    May 8, 2017 at 12:54 pm

    Hi Suraj,

    You can do this by using PageReference.But remember your DML and callouts can't be done at the same time, it will throw

    System.CalloutException, "You have uncommitted work pending. Please commit or rollback before calling out".You can read more about it here.

    Thanks.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos