cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wackmack88
Level 8

Trigger Conditition = Folder check

Hi,

 

I would like to only trigger the flow when a folder/document is add to a library.

This is my trigger condition:

 

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

or

@equals(triggerbody()?['IsFolder'], true)

 

But the flow doenst trigger at all. When i use a condition, IsFolder = true, the flow runs perfectly. Is there any reason for why the flow doenst trigger correctly?

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Trigger Conditition = Folder check

Hey @Wackmack88 

 

I can see there is an extra ')' and a space in the expression. Can you try using this:

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

I tested the same in my environment and it works fine. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
Dual Super User
Dual Super User

Re: Trigger Conditition = Folder check

Hey @Wackmack88 

 

I can see there is an extra ')' and a space in the expression. Can you try using this:

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

I tested the same in my environment and it works fine. 

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Wackmack88
Level 8

Re: Trigger Conditition = Folder check

Works fine now, thanks! 

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Users online (4,787)