web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to move existing f...
Power Automate
Answered

How to move existing flow under a new Condition {Yes}

(0) ShareShare
ReportReport
Posted on by

Hi, I have a flow of more than 30 steps. Recently added a Condition {Yes/No} at tbe top level around step #3 . How can I move my rest of 27 steps under Yes condition? 

Categories:
I have the same question (0)
  • Bhanu2023 Profile Picture
    on at

    @trice602 - As you know in the past we devloped lost of steps any way to move them under a new condition? 

  • Verified answer
    trice602 Profile Picture
    16,016 Super User 2026 Season 1 on at

    Hi @Bhanu2023 ,

     

    One at a time is the only solution I can offer and even then, it can be difficult if they are already in an apply to each.  You can also try and copy each to the clipboard and then create a new action in the desired location with the clipboard content, but I haven't had 100% success moving actions.

     

    I hope someone else also has some ideas to share.

     

    trice602_0-1693432916888.png

     

     

     

     

  • Bhanu2023 Profile Picture
    on at

    @trice602 - I am surprised Microsoft  don’t option of drag and drop options available. 

  • Verified answer
    trice602 Profile Picture
    16,016 Super User 2026 Season 1 on at

    Hi @Bhanu2023 ,

     

    They have a bulk drag and drop feature in desktop but not here yet and it would be very helpful. 

     

     

     

     

  • Verified answer
    Bhanu2023 Profile Picture
    on at

    @SamLed@ganeshsanap @SudeepGhatakNZ any suggestions on this issue ? 

  • Verified answer
    trice602 Profile Picture
    16,016 Super User 2026 Season 1 on at

    Adding @Nived_Nambiar - any suggestions?

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    You can include them all in a Scope action and use the copy feature to copy them all

    SudeepGhatakNZ_1-1693442224180.png

     

     

     

  • Verified answer
    SamLed Profile Picture
    2,338 Moderator on at

    Hi,

     

    For such task, I would have export flow, extract the "definition.json" file, move actions, overwrite file back in zip and import flow.

     

    For that condition:

    SamLed_0-1693463573374.png

    The definition is:

    "Condition": {
     "actions": {
     "Compose_3":{"runAfter":{},"metadata":{"operationMetadataId":"033a53d2-df00-4e6d-9814-d6d806296111"},"type":"Compose","inputs":"test"},
     "Compose_5":{"runAfter":{"Compose_3":["Succeeded"]},"metadata":{"operationMetadataId":"14ca73be-7ce9-44c2-93bf-c5f3c35b3e72"},"type":"Compose","inputs":"test"}
     },
     "runAfter":{},
     "else":{
     "actions":{
    	 "Compose_4":{"runAfter":{},"metadata":{"operationMetadataId":"db7f9abc-71ce-48d6-92ac-2ba300f188a1"},"type":"Compose","inputs":"test"}
    	}
     },
     "expression":{"contains":["@triggerOutputs()['headers']['x-ms-user-name-encoded']","Samuel"]},
     "metadata":{"operationMetadataId":"411d4503-0c68-4c17-b079-5b244f795e5f"},
     "type":"If"
    }

    ______________________________________________________________

    If I have answered your question, please Accept the post as solution.
    If you like my response, please Thumbs Up.

     

     

     

     

  • Verified answer
    SamLed Profile Picture
    2,338 Moderator on at

    Why definition file ? Because I hate drag & drop 😂

     

    More seriously, Scope action is a good idea, but have to move all actions inside scope then move scope inside action.

    With definition file, just have to make my condition definition surrounding my actions ones. But have to export, modify and import.

  • Verified answer
    Chriddle Profile Picture
    8,634 Super User 2026 Season 1 on at

    Since flows with more than 30 actions in view scare me, I definitely recommend grouping these actions into scopes.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard