cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

How to test only parts of a flow without running the whole thing

I'm building a somewhat lengthy flow that grabs data from a SharePoint list several times (different ODATA filters each time). After grabbing the list data, it then chews on it before firing off appropriate emails to appropriate people. This scheduled flow has been working for a while.

 

Now, I have some new functionality I'd like to build into the flow. However, how can I build and test this new functionality without running the entire flow? While testing my new/edited flow bits, I don't want it firing off those emails to people.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User
Dual Super User

Re: How to test only parts of a flow without running the whole thing

Hi @AIUYM19 

 

There is currently  no option in Flow to disable code execution

 

You can make a copy of your flow and make updates and test and remove the other parts

 

Flow also has the option now to Copy to clipboard so you can copy parts of your flow and temporarily move it to an if condition which will never execute

 

Regards,

Reza Dorrani

 

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

5 REPLIES 5
Highlighted
Dual Super User
Dual Super User

Re: How to test only parts of a flow without running the whole thing

Hi @AIUYM19 

 

There is currently  no option in Flow to disable code execution

 

You can make a copy of your flow and make updates and test and remove the other parts

 

Flow also has the option now to Copy to clipboard so you can copy parts of your flow and temporarily move it to an if condition which will never execute

 

Regards,

Reza Dorrani

 

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

Highlighted
Helper II
Helper II

Re: How to test only parts of a flow without running the whole thing

@RezaDorraniThat might work. Copying the flow, removing the "email this person" bits, and then testing the new stuff in the copy is something I considered. Is there a way to copy flow components from one flow to another? Otherwise, I would need to build my changes in the disabled copy, test them, and then build them from scratch again in the original (live) flow. Seems like a lot of duplicated effort.

Highlighted
Dual Super User
Dual Super User

Re: How to test only parts of a flow without running the whole thing

Hi @AIUYM19 

 

You can copy and paste across your Flows

https://flow.microsoft.com/en-us/blog/introducing-clipboard-in-flow-designer-and-three-new-user-expe...

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Highlighted
Community Support
Community Support

Re: How to test only parts of a flow without running the whole thing

Hi @AIUYM19 ,

 

As @RezaDorrani  provided, you could refer to the link to copy flow components from one flow to another with Clipboard in flow.

 

If your problem has been solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best regards,

Alice       

 

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

Highlighted
Helper II
Helper II

Re: How to test only parts of a flow without running the whole thing

@v-alzhan-msft 

Whoa, easy there, Alice. I didn't have a chance to read Reza's response until just now. I fully intend to mark it as the solution, but hounding people about it after only a few hours is not helpful.

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,655)