Hi Lucie,
Thank you for using Blue Prism.
If I understand exactly what you want to do is effectively search in the filename for todays date. What you would need to do is construct a data item that has today's date in exactly the format that it appears in your filename. This will be dependent on your culture settings to get this correct. However, if you look in a decision stage, you have the function InStr. This will look at a string and provide a response if a substring is found within it.
An example of this is as follows.
Lets say we have a text data item called MyFilename that contain "My_Filename_20190922.txt"
We want to find the text "20190922"
So, using InStr(MyFIlename,"20190922") would return a value of 13 as this is where the text we want to find starts in our data item.
I hope this covers what you are trying to accomplish.
Please come back to the forum if you need anything further.
regards
------------------------------
Geoff Hirst
Partner Pre Sales
Blue Prism
------------------------------
Geoff Hirst
Senior DX Engineer - Digital Exchange - EMEA
SS&C Blue Prism