Passing input to a flow service from DSP page using %invoke% tag

Hi,

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%

indexValue=%value columnNames%

%invoke Initialization.services:selectColumnValuesFromMasterTables%

%loop columnValues%

%endloop% %endinvoke% %endloop% %endinvoke%

Thanks,
Kavitha

%value columnNames%
%value columnValues%

DSP can’t take output of one service and pass the results to another service on the same DSP.

try to create a flow service to call and loop, DSP should only call this service and display the results.

1 Like