- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-05-21 06:00 PM
So that just used GET FILE action to get the all files inside the folder then used loop & passed GET FILE output collection into the loop.
Now I need to know how to give dynamic File Name in the input filed for READ ALL TEXT FROM FILE action after loop.
Because text file name is differ in both text file , when one txt file process completed the loop will take to process next file so reading the text file ,name will change every loop.
I just tried with "*.txt" in the input field but its not reading the text file .
I have attached the screen shot as per my try kindly refer it and also guide me correct way like how to give the dynamic input for READ ALL TEXT FROM FILE action please,
In Patterns CSV , I have given "*txt" I am not sure , is this correct way , Kindly clarify this also.
Thanks in advance.
------------------------------
Jamuna T
Changepond Technology
chennai
------------------------------
Answered! Go to Answer.
Helpful Answers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 06:43 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
15-05-21 06:34 PM
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 02:38 PM
So to put that with Emerson's suggestion, the expression in a Calculation stage might look like this: LoadTextFile([Files.Path])
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 06:18 PM
I need one more Solution for Read lines from file action. In the input field I have provided start line as 0.
But I don't know the exact end line number because end line number will be differ in each text file for every loop and also each text file is having more than 1000 lines
So how to give biggest number in End line inputs field?
I have attached the screenshot below Kindly refer & guide me please this also,
------------------------------
Jamuna T
RPA developer
Changepond Technology
chennai
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 06:28 PM
In the start line just put 0 and not "0" because it is a number and not a string, but I believe you need it, you may be using read all text from files that it should take all the lines
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 06:43 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 07:02 PM
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-05-21 07:05 PM
------------------------------
Dave Morris
Cano Ai
Atlanta, GA
------------------------------
Dave Morris, 3Ci at Southern Company
