Forum Discussion
Sending Daily Emails about the Files to be Deleted Automatically Tomorrow
- Feb 09, 2024
omergunduz This is a strange issue.
Try disabling new designer and use old designer once:
If you are still facing the issues. Try raising a support ticket with Microsoft. Check:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
I have set up a simple flow which works fine. Firstly, I use the "get files()" command, then I use a "foreach" loop with the body/value. However, it fails to add file names to the mail body. It only adds the file title, ID, etc., but not the file name. I am not sure why this is happening.
omergunduz Can you try using expression like this:
item()?['{FilenameWithExtension}']
I just tried and it works for me:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- omergunduzFeb 09, 2024Copper Contributor
When I add the "item()?['{FilenameWithExtension}']" expression to the mail body, it becomes "']}" as in the below pic.
"
- ganeshsanapFeb 09, 2024MVP
omergunduz For where are you adding this expressions?
Go to your action and click "Insert expression" option:
Paste the expression and click Add:
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
- omergunduzFeb 09, 2024Copper Contributor
I am doing the exact same thing. But the result is "']}". It can add file ID, Title, etc. but the filename fails..