You need to sign in to do that
Don't have an account?
njo103
Visualflow : assigning collection variable from apex call
Hello,
I am developping a visualflow that needs to call an apex class that would return a list of string. I need to display the list on my visualflow. I am following the example given here : https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_apex.htm and using the @InvocableMethod annotation.
However, when assigning the return value to collection in the visualflow, we are encountering an error : "The data type of resource you entered does not match".
The collection is of type text.
Any help would be appreciated.
Thanks in advance.
I am developping a visualflow that needs to call an apex class that would return a list of string. I need to display the list on my visualflow. I am following the example given here : https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_apex.htm and using the @InvocableMethod annotation.
However, when assigning the return value to collection in the visualflow, we are encountering an error : "The data type of resource you entered does not match".
The collection is of type text.
Any help would be appreciated.
Thanks in advance.