You need to sign in to do that
Don't have an account?
Manogna Demo
how to make callouts from triggers from future method, any reference code
please do needful,
thanks
thanks
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Below is sample code to callout from triggers by using a future method :
Trigger ContactTrigger on Contact(After insert,After update,after undelete)
{
for(Contact Con=Trigger.new)
{
Util.CallOutMethod(Con.AccountId);
}
}
public class Util(){
@future(callout=true)
public void CallOutMethod(string AccountId)
{
//Write Callout code
}
}
Please let me know if you need more information?
Thanks,
Mukul
you may read here>> eightyreviews.com (https://eightyreviews.com/).