Need to give list of files as Transaction data using Queue

I have a folder which contains list of Excel files. I am trying to retrieve them as transaction data , so that for each file I will read and fetch required data in Process and move the file and picks next transaction item(next excel file) and repeats for all the files. can anyone please explain how could this be achieved. This is using reframe work and queue. This will be dispatcher part.

It is processing a single file without issues.

When I try to process the next. it gives me the issue: Cannot get transaction.

Thanks

@Aazmaanahmed_Khan

use assign activity

arr_files=directory.getfiles(“folderpath”).toarray

use for each activity for arr_files
inside use add queue item activity to add each file path to queue

the above process need to be in a xaml named as dispatcher and place it in the first run

is this the way you are implementing?

can you share the issue which you are facing

Hello if you can provide me a sample structure I can defintely help