cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AIUYM19
Helper V
Helper V

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
RezaDorrani
Dual Super User II
Dual Super User II

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
RezaDorrani
Dual Super User II
Dual Super User II

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

@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.

RezaDorrani
Dual Super User II
Dual Super User II

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

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.

@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
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (52,550)