I am trying to develop a workflow. I have multiple PDF files in a folder. I want to join each 3 files into one PDF. I have provided input array in excel and output array in excel as well. I am using read range excel activity and stored data in data table. Next I am using Get Row activity in For Each Row activity and saving input array and output array from data table to a variable to use in join PDF activity. But getting subject mentioned error. I have attached the workflow screen shots. Kindly help please.
Don’t use a get row activity. The row already exists as a variable in your for each row in datatable activity. You can directly access it by using row(n).tostring where n is the column number of your extracted range, starting from 0.
Example:
This assumes your filename is in the 1st column of your extracted exceldata
Thank you so much for the help. I am using join PDF activity after Assign activity. Variable created in assign activity is being used as input for join pdf. But I am getting error as:
Join PDF Files: The file list must contain at least two files.
Yeah, that is where I am not finding any solution how to convert that filename (that are string) to array. Than I will use that array into join PDF input.
I am new with Uipath and I am sure I am asking very naive questions. Apologies for it.
Create array of with the same length as number of rows in the datatable read from excel containing pdf files to be joined. You need to subtract -1 so that the numbers are equal.
For each row in properties create index variable and for that variable assign corresponding values in array - each element in array is a row from data table read at the very beginning