cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Julien2
Post Prodigy
Post Prodigy

Error in the flow trigger condition based on filetype

Hello everyone,
I have a flow that triggers whenever a file is updated to a certain SP library.
I have set a condition to trigger the flow only if the file type contains XLSX or CSV.
I tested the flow and it worked as expected but when I go to the history dashboard it is showing the below error:

Error condError cond

I am using the below condition on the trigger (When a file is created to a folder):

@OR(contains(triggerOutputs()?['headers/x-ms-file-id'], '.xlsx'),contains(triggerOutputs()?['headers/x-ms-file-id'], '.csv'))


Is there anything wrong that I am using or missing?

Any help will be highly appreciated.
Best regards,

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User III
Super User III

Hi @Julien2 

 

The syntax looks fine and it should work. Try uploading more files and see if that works. Believe this should be a bug in the dashboard.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

1 REPLY 1
abm
Super User III
Super User III

Hi @Julien2 

 

The syntax looks fine and it should work. Try uploading more files and see if that works. Believe this should be a bug in the dashboard.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,398)