I have a scenario where i have to loop over string array output of a service and call second service inside the loop and pass the array iteration value to the second service. Second service is getting called but entire string array is getting passed to second service but not the iteration value. Below if my code. Please help.
%invoke Initialization.services:getColumnNamesForTable%%loop columnNames%
%loop columnValues%%endloop% %endinvoke% %endloop% %endinvoke%