You need to sign in to do that
Don't have an account?
Shamsi 110
can an appechange product includes call outs to external system?
Hello All,
I want to create an appexhange manage package for my customers and i want to get some suggestions from you guys.
I was wondering can i call outs in some of my triggers of this package to some external system.
What are the security concerns that i would need to look after.
Thanks
I want to create an appexhange manage package for my customers and i want to get some suggestions from you guys.
I was wondering can i call outs in some of my triggers of this package to some external system.
What are the security concerns that i would need to look after.
Thanks
Hi Shamsi,
Yes, we can call out trigger from Future Method. A future method runs in the background, asynchronously. You can call a future method for executing long-running operations, such as callouts to external Web services or any operation you’d like to run in its own thread, on its own time.
A future method can have native calls, as well as, they can make a call out to an external web service and hence, in order to enable the future method to allow callouts, an extra parameter “Callout=true” needs to be passed.
Here is the link which helps more about the future methods
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_invoking_future_methods.htm
Thanks.
Ajay Dubedi