Need to know if an email contains 2 attachment files and compare version (V1, V2..)

Hi,

Need to know if an email contains 2 attachment files and compare version (V1, V2…)

whitch one is the version 1 and whitch one is the version 2 ( The newest and the older one)

its not every time V1 or V2 it can be V50 and V49 for example

and after that i want to save it both in different path

Hi @Soudios

Try this

Version = System.Text.RegularExpressions.Regex.Match(currentAttachment.Name,"(?<=EXCEL )[A-Z0-9]+").Value

Regards,

Hi @lrtetala

I have this error message

The Expression Editor shows a compilation error in UiPath because "Name" is not a member of "MailMessage". (Captioned by AI)

Hi @Soudios

Please try with this workflow once. It will help you get the attachment version.
OutlookMail.xaml (15.1 KB)

@rashmisingh2695

Nothing happened