Hi All- the Idiot is back. Thanks to @AlanPs1 I have a flow that looks into my new emails and saves the attachment in onedrive if the attchment has a specific name. However the condition (contains ) that checks the filename is case sensitive. I tried using toLower('Apply to Each')?['Name'] but "Attachment Name" is not in dynamic content (clicked see more as well). Tried to compose before condition but still same. Need help please.
Solved! Go to Solution.
Hi @navaidm ,
Thanks for updating.
I am so glad to hear that you’ve figured out a solution and it is working now.
By the way, you could try the following way as well.
Within the apply to each, add a Compose action, then select dynamic content Attachments Name as its inputs. Then click on the dynamic content and Ctrl+C, then paste it into the function bar under Expression tab.
Then you could select the highlighted part and use it in toLower function likes below:
toLower(items('Apply_to_each')?['Name'])
A screenshot for your reference.
Best regards,
Mabel
@AlanPs1 / All . I used initialise and set string on filename and then tolower on string. This worked. While I dont understand the reason why "contains" works on "dynamic content attachment name" and "tolower" does not" , it has solved the problem.
Hi @navaidm ,
Thanks for updating.
I am so glad to hear that you’ve figured out a solution and it is working now.
By the way, you could try the following way as well.
Within the apply to each, add a Compose action, then select dynamic content Attachments Name as its inputs. Then click on the dynamic content and Ctrl+C, then paste it into the function bar under Expression tab.
Then you could select the highlighted part and use it in toLower function likes below:
toLower(items('Apply_to_each')?['Name'])
A screenshot for your reference.
Best regards,
Mabel
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
70 | |
24 | |
18 | |
16 | |
13 |
User | Count |
---|---|
137 | |
44 | |
32 | |
32 | |
29 |