You need to sign in to do that
Don't have an account?
Murthy Alluri
Integration of apex callouts with flow
Hello, I am looking to integrate webservice callouts with Visual Workflow, can you please suggest the approach if anyone tried.
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You should be able to do this.
You need to create a class with an invokable method that can be called from your visual workflow https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm?search_text=InvocableMethod
In within your invokable method, you need to call make a callout to the webservice. Your web service callout logic should be contained in a separate class.
Is your web service SOAP or REST? Here is some information about invoking a web service from apex https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_integration_intro.htm
All Answers
You should be able to do this.
You need to create a class with an invokable method that can be called from your visual workflow https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_annotation_InvocableMethod.htm?search_text=InvocableMethod
In within your invokable method, you need to call make a callout to the webservice. Your web service callout logic should be contained in a separate class.
Is your web service SOAP or REST? Here is some information about invoking a web service from apex https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_integration_intro.htm