I have a process to check a folder, which identifies when a file is received and can read from it. So far so good, but I have a couple of problems.
The files in particular are email converted into text. This emails contains information for the robot to start a process with some of the attributes in the email.
The problems I’m facing are the following
1- The files have a reference ID based on the date & time that has been created like YYMMDDHHMMSS. This allows to order the files. But how can Uipath order the files so that it pickups up the older? Basically I want to create a first in first out sequence, so that the older request is being processed.
2- I need to read some data from the file to do a few tasks. The contents of the file is something like this:
Sent: 25 March 2017 12:37
The information I need to capture is
- The email, so that I can inform the user that the task is being processed. (I don’t see an activity in Uipath, is it possible to send emails?)
- The Task to start the required process
- The attributes that are required in the task
How can I capture the information from the text file and store in in attributes to process it?
I’m attaching the example text file and the xaml file as a reference.
I would really appreciate to get some help or advice