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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get Flow and Delete Fl...
Power Automate
Unanswered

Get Flow and Delete Flow Management connectors error

(0) ShareShare
ReportReport
Posted on by 38

I have been unable to use the Get Flow and Delete Flow connectors. There are two options for identifying the Flow for the connector - the drop-down list of Flows in the environment, or by entering a custom value. I would like to use the custom value option as the Flow will be identified using a value from a Sharepoint list.

 

However, no matter which way I try to populate the custom value I get a 400 error that the provided flow name "contains invalid characters" - the flow name I am providing consists only of letters and numbers in a format similar to this: "Notification Flow 12".

I have tried this using dynamic content from a Sharepoint connector, again with simply typing in the name of one of my flows, as well as multiple variations of the two, all to the same outcome.

 

Has anyone else encountered this problem and found a way around it? Thanks.

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hello @finnecs 

    I have tried this, and you are right. In fact, it doesn't matter the name of the flow (with or without blank characters, for example). I think that the Get Flow action is using the Flow Id internally to execute the operation. Have a look at the code of the action:

    2020-03-10 14_40_20-Window.png

     

    It's not using the flow name anywhere (it's using its Id). Therefore, I think that currently is not possible to use the Flow name dynamically.

    Hope it helps!

    Ferran

  • finnecs Profile Picture
    38 on at

    Ah I see, thanks very much for pointing that out.

     

    The reason I was wanting the connector to work was to "clean up" flows that I have set to be created when a new Sharepoint subsite is made for a project - fortunately all these projects are 4 weeks long so I was able to find a work-around:

    • putting a 4 week Delay connector on the end of the Create Flow process
    • following this with a Delete Flow connector using "Flow Name" as dynamic content from the Create Flow connector

    A closer look shows that this is in fact the internal ID rather than my assigned name. This method won't be applicable to all instances of this error but may have some potential.

  • darylvogan Profile Picture
    274 on at

    You could use the "List Flows" action to get flows, then lookup the GUID by the name

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard