Hi ,
I am trying to create a flow inside flow by using a flow managment connectors like "Get flow" & "Create flow".
for this I am referring below article which is similar to my requirement.
I have created flow based on the above article but I am facing below Issue.
Error :The 'inputs.parameters' of workflow operation 'Create_Flow' of type 'OpenApiConnection' is not valid. Error details: The API operation does not allow writing a value for parameter 'Flow/properties/connectionReferences[0]/displayName'. This parameter is read only.
I am able to Create a dynamic definition Properly but still facing issue at the step of "Crate Flow"
Please find below screen for my flow.
Screen1
"Create Flow" Step with parameter :
Also Providing definition that I have created dynamically:
In this
json(outputs('Get_connections_file')?['body'] what is get_connections_file? a action, then what action should I use for that?
Hello @ham , Thanks for this workaround. This works.
Hello,
This is currently a limitation. When the JSON of the connection references is exported, it includes the display name of each connection. When trying to import those connections, it still includes that display name, causing the error.
Below is the workaround for this. Basically, you have to do is load the connections JSON, iterate through each one, remove the displayName property, assemble that into an array, and pass that to the 'Create Flow' step.
Best Regards,
Harish M
Please mark as verified if the answer is helpful.
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,948
Most Valuable Professional