Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vWyjaGfhe5rWtyDwppFb+I
Power Automate - Building Flows
Answered

Copy/Paste Actions inside Switch Condition

Like (1) ShareShare
ReportReport
Posted on 22 Aug 2019 13:36:07 by 9

Hi All,

 

I am trying to duplicate an action that is under one Switch Case to all other cases. However, when i copy to clipboard and try to select the action from "My Clipboard", it gives me the following error message - "Failed to find SWITCH"CASE in definition". I can move the actions between cases, but i'd like to replicate the actions. It does not matter which Case I pick, the error message is the same, just the Case number changes.

 

Has anyone come across this issue before? or is aware of a potential solution?

 

Thanks.

  • brittanykeating Profile Picture
    29 on 01 May 2024 at 10:56:23
    Re: Copy/Paste Actions inside Switch Condition

    Yes, I have seen that. I just wish they would fix it. 😂

  • CU10010325-0 Profile Picture
    31 on 01 May 2024 at 01:20:11
    Re: Copy/Paste Actions inside Switch Condition

    hi @brittanykeating ,

     

    The best way for now is to paste it outside of the SWITCH scope and just drag-and-drop into the SWITCH scope after that.

  • brittanykeating Profile Picture
    29 on 29 Apr 2024 at 18:31:07
    Re: Copy/Paste Actions inside Switch Condition

    Its 2024 and you still can't past in Switch. 

  • keepinupwkaren Profile Picture
    60 on 27 Sep 2023 at 18:07:33
    Re: Copy/Paste Actions inside Switch Condition

    Thank you so much!!!

  • Community Power Platform Member Profile Picture
    on 08 Nov 2022 at 17:54:33
    Re: Copy/Paste Actions inside Switch Condition

    I am also having this issue. I would really like to use switch cases but the amount of duplication I need to do for the switch case is significant. I cannot use Switch Cases with this bug currently. 

  • CU10010325-0 Profile Picture
    31 on 13 Oct 2022 at 01:08:44
    Re: Copy/Paste Actions inside Switch Condition

    Looks like you just have to copy/paste and drag-and-drop one-by-one instead of the "Full Flow" because of some scope restrictions within your actions variables. 

  • LukeSykes Profile Picture
    on 12 Oct 2022 at 13:32:42
    Re: Copy/Paste Actions inside Switch Condition

    The entire flow is inside the apply to each section.

     

    Within that I have a switch with 4 Cases.

     

    Within the cases i have what I'm referring to as a 'Full Flow' which also contain further switches for things like transaction types and month etc.

     

    The first 3 of my cases i was able to duplicate the Full Flow with out issue using the scope method pasted above however for the 4th and final case i cannot do it however i try.

     

    I tried your method of copying and pasting the 'Full Flow' for case 4 in the 'New step' option right at the end of the flow but it wont even do it there, even if i do it within a scope.

     

    LukeSykes_0-1665581055485.png

    @sambg 

  • RobElliott Profile Picture
    10,134 Super User 2025 Season 1 on 12 Oct 2022 at 12:07:13
    Re: Copy/Paste Actions inside Switch Condition

    @LukeSykes paste the action at the very end of the flow with New Step. Then drag it into the correct place.

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

  • LukeSykes Profile Picture
    on 12 Oct 2022 at 12:00:09
    Re: Copy/Paste Actions inside Switch Condition

    That wont work for me.

     

    I have copied the switch to my clipboard but i cannot paste it anywhere at all within the flow to be able to drag and drop the switch.

     

    It is so FRUSTRATING!

  • LukeSykes Profile Picture
    on 12 Oct 2022 at 11:55:55
    Re: Copy/Paste Actions inside Switch Condition

    This worked perfectly 3 times but it wont work for my 4th and last time!!!! Its so annoying, and I really can't build the whole flow again its just too big and complicated.

     

    Can you think of a reason why i cant save copy and paste the scope?

     

    I did what you said

     

    *Created a parallel branch.

    *My flow already existed so i dragged and dropped it into the new scope

     

    tried to follow your steps but it just will not paste a copy of the scope - I'm really pulling my hair out with this - i just cant believe this simple thing is so difficult.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Building Flows

Overall leaderboard