cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
claudia
Level: Powered On

How to stop a flow if condition is False

approval flow 1.PNGapproval flow 2.PNGapproval flow 3.PNGapproval flow 5.PNGapproval flow 6.PNGapproval flow 7.PNGInkedapproval flow 4_LI.jpg

 

I have a condition in my Flow that should convert a word document into a PDF and create a file (PDF document) in another library. 

 

The problem is, that even if the condition is false, the word document is converted into PDF and then a file  is created in another library (as PDF).

I was thinking to to use the TERMINATE, but this is not working for "Apply to each". 

Thank you for your kind support!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How to stop a flow if condition is False

Hi @claudia ,

 

I checked the logic of your Flow configuration and it seems that there is no problem. If Condition determines that the condition is false, Create file action will not be executed.

I am more curious as to why you configure Get files(properties only) action under For a selected file to get the file properties.

In general, For a selected file triggers Flow after selecting one specified file, so you only need to use Get file properties action to get the currently selected file properties.

If you use Get files(properties only) action, all the files in the Library will be retrieved, and Apply to each will automatically appear to convert them.

This may also be the cause of duplicate file creation.

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: How to stop a flow if condition is False

Hi @claudia ,

 

I checked the logic of your Flow configuration and it seems that there is no problem. If Condition determines that the condition is false, Create file action will not be executed.

I am more curious as to why you configure Get files(properties only) action under For a selected file to get the file properties.

In general, For a selected file triggers Flow after selecting one specified file, so you only need to use Get file properties action to get the currently selected file properties.

If you use Get files(properties only) action, all the files in the Library will be retrieved, and Apply to each will automatically appear to convert them.

This may also be the cause of duplicate file creation.

Please take a try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons in April

Read the announcement for more information!

firstImage

Better Together Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Kudoed Authors
Users online (8,147)