Hello everyone
How to send files from File System only file name (D1_DMSOM004_TEMPLATE_2) no all file name send email?
Thanks in advance
Hi @unchalem
You can add a judgment condition before sending the email, if the file name is 'D1_DMSOM004_TEMPLATE_2', then send the email, otherwise the email will not be sent.
Because the display name includes the file extension, so I use contains here to judge.
Or use the following formula to get the file name without extension,then judge whether the file name is equal to D1_DMSOM004_TEMPLATE_2.
Expression:first(split(outputs('Get_file_metadata_using_path')?['body/DisplayName'],'.'))
Hope the content above may help you.
Best Regards
If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional