Hi All,
I currently have two flows: One is for backing up workflows, and the other is for restoring. Please see screenshot of my first flow below.
The flow is being backed up by creating two files that has the following content: Flow Definition Summary (JSON file), and Connection Reference (txt file), which was obtained through the "List my flows" action.
Screenshot of my second flow is below
The two get file actions will get the two files created by the first flow. The content of the PARSE JSON is the output body of the previous action which refers to the file that has the "FlowConnection".
The help I need is I need to know what values/fields I need to input to the "Create Flow" action. As I am having errors with the current setup I have.
Error is:
The request content was invalid and could not be deserialized: 'Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Microsoft.WindowsAzure.ResourceStack.Common.Collections.InsensitiveDictionary`1[Microsoft.Azure.Flow.Templates.Schema.FlowTemplateTrigger]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path 'properties.definition.triggers', line 5, position 19.'.
Thank you!
hey, did you solve it? I am facing the same issue at the present, just related to the connectionReferences. I figured out that the connectionReference dont like neither an empty array nor an empty json. If the connectionReference is indeed empty.
On that function I receive the attached error:
as workaround I worked with a condition, which is really weird...
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional