Do let us know by filling the field Description, how the values are to be entered, We can then propose the correction.
On this part, we can ask on what is the data that you are looping. Is it the Splitted Document Name values or the row value itself ?
We do not yet know the full implementation. Have you used a For Each Row activity and then inside it a For Each activity ? If you have used it in this manner, then the value concatenated should be available in the CurrentRow item of For Each Row activity.
If I understand properly…you have transactionitwm as datarow and …when there is a comma you want to loop through each document
So just the way you split the documentname …split the adddocumentpath aswell and in the for loop properties you would have index property…assign a variable to it and then use adddocpathvar(index) to access the corresponding filepth using the index variable…here adddocpathvar is of type list basically the split of adddocumentpath data with comma