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.
Solved! Go to Solution.
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:
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
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:
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
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:
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.