web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't check the Condit...
Power Automate
Answered

Can't check the Condition with Get files (properties only)

(0) ShareShare
ReportReport
Posted on by 517

HI,

 

I want to check if a file exists in Documents with Get Files (properties only) but somehow it can't go to the condition. It's just skipped. Does anyone have any idea why I can't accomplish what I want?

How my flow looks like so far:

dkayt_1-1718617129269.png

 

And see the results:

dkayt_0-1718617039049.png

Regards, dKayt

Categories:
  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @dkayt ,

    Please try to turn on Settings to set the pagination threshold to 5000:

    vyetonggumsft_0-1718617981538.png

    vyetonggumsft_9-1718617600055.png

    Best Regards,

    Sunshine Gu

  • dkayt Profile Picture
    517 on at

    Hi @v-yetonggu-msft 

    I already tried it but unfortunately it doesn't work. Actually I only have 3 files in Documents.

    Regards, dKayt

  • Anil_g Profile Picture
    668 Moderator on at

    @dkayt 

     

    By any chance did you configure a run after?

     

    Anil_g_0-1718618730818.png

     

     

    cheers

  • v-yetonggu-msft Profile Picture
    Microsoft Employee on at

    Hi @dkayt ,

    Please enter File Name extension.

    Like this:

    vyetonggumsft_0-1718619089328.png

    Best Regards,

    Sunshine Gu

  • dkayt Profile Picture
    517 on at

    Hey @v-yetonggu-msft ,

     

    even when I enter the file name with extension, nothing happen 😕

  • Anil_g Profile Picture
    668 Moderator on at

    @dkayt 

     

    If run after is not configured for success it would not go ahead and skip so verify the same

     

    cheers

  • dkayt Profile Picture
    517 on at

    HI @Anil_g 

    I didn't change it before and now I tried to click to any checkboxes but it's skipped.

  • dkayt Profile Picture
    517 on at

    Still no changes!

    Even with :

    dkayt_0-1718622866750.png

     

  • Verified answer
    Anil_g Profile Picture
    668 Moderator on at

    @dkayt 

     

    Just to verify can you create a separate flow and check if the issue persists

     

    as I tried the same multiple times but not able to replicate...so assumption is it is happening on in that flow for some cache reasons

     

    cheers

  • dkayt Profile Picture
    517 on at

    @Anil_g 

    Thank you for this suggestion. I create another flow (in another solution) and I update the value of my condition 

    length(body('Get_files_(properties_only)')?['value'])

    Guess what? It works 🙂

     

    Thank you @v-yetonggu-msft  too for replying.

     

    Regards, dKayt

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 389

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard