how to pass the value of the data row in For each File in Folder
I use the
in_TransactionItem(“FilePath”).ToString()
how to pass the value of the data row in For each File in Folder
I use the
in_TransactionItem(“FilePath”).ToString()
This looks correct…but the filepath is a file or a folder?
if file then it would not work as it needs a folder path…if you want to give the folder in which the file is present then use Path.GetDirectoryName(in_TransactionItem("filepath").ToString)
cheers
Give the below one in In folder option in For each file in folder activity.
In_TransactionItem.specificcontent(“FilePath”).toString
You have forgetten to give specific content
Hope it helps!!
in_TransactionItem.SpecificContent(“FilePath”).ToString()
Inside for each give your other activities
Regards,
@krishnapriya_Anu
Assign=
Folder datatype is string
Folder=in_TransactionItem.SpecificContent(“FilePath”).ToString
Pass the folder in In folder
Hope it works
Hi @krishnapriya_Anu , if your in_TransactionItem is a datarow, then to get the file path value, you can use in_TransactionItem(“FilePath”).ToString
If it is a Datarow then in_TransactionItem(“FilePath”).Tostring
if it is Queue then in_TransactionItem.SpecificContent(“FilePath”).Tostring
Hope it helps!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.