Deleting elements from Table variable after every loop

Hi,

I have a table variable (filename_table) with multiple string elements. I have looped another table variable (segments) and use the first element from filename_table in each loop. But at the end of every loop, I want to remove the first element from the filename_table. Is there any efficient way without using custom action script to perform this?

Hi @arar96 to delete a row in a table variable, you need to use a custom action. Or, you can increment the index of the row in the loop, and use the next row in the table in the loop instead of using the first one.

Sorry, @ashapkina can you help out with the sample code on how to do that, let us assume the table has n numbers of rows and you are using a for each loop with a condition to iterate through and you want to delete every item that meets the requirement.