Skip to main content

Notifications

Power Automate - General Discussion
Answered

MDA App and SP Folder issue

(1) ShareShare
ReportReport
Posted on by 13

I have sharepoint integration set up and on the creation of a file in sharepoint have a triger of a flow that renames the folder to a specific format. This works fine but the flow is also running on the upload of a new file. How do I modify it so it only runs for the creation of new folders?

  • FLMike Profile Picture
    FLMike 30,156 on at
    Re: MDA App and SP Folder issue

    @automatehelp 

     

    Thought you only wanted it to run on the creation of new folders?

     

    How do I modify it so it only runs for the creation of new folders?

     

  • automatehelp Profile Picture
    automatehelp 13 on at
    Re: MDA App and SP Folder issue

    @FLMike the flow is now no longer triggering at all. 

     

  • Verified answer
    FLMike Profile Picture
    FLMike 30,156 on at
    Re: MDA App and SP Folder issue

    Hi @automatehelp 

     

    You need to add a Trigger condition so it only fires for Folders.

     

    GO into your flow, click the ... on the Triggers header

    Click Settings in the Popup menu

    Add this to the trigger conditions and you should be golden

    @equals(triggerBody()?['{IsFolder}'],true)

     
    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,445

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,741

Leaderboard