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?
Solved! Go to Solution.
Hey @Anonymous
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!
Hey @Anonymous
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!
Works fine now, thanks!
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
13 | |
13 | |
11 | |
7 | |
6 |
User | Count |
---|---|
20 | |
16 | |
10 | |
10 | |
9 |