cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

Failed to Save, Definition contains Invalid Paramters

I am receiving a generic error on an very large flow created and run several times that says "Failed to Save, definition contains invalid paramters".  There is nothing else in the error message that would indicate what that could be.  I can discard edits, re-open, and modify a single thing (delete an action, modify an action) and saving always generates this message.

 

Any way I can figure out what's going on here?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Failed to Save, Definition contains Invalid Paramters

I was setting a variable with string type to a string, and for some reason without writing out the WDL expressing @string() it would not accept the set variable option.  That seemed to correct it.

 

View solution in original post

7 REPLIES 7
Highlighted
Community Support
Community Support

Re: Failed to Save, Definition contains Invalid Paramters

Hi WiggityZwiggity,

 

Could you tell me how large your flow is and how your flow is configured?


Do you mean that after deleting or modifying an action then you will get the error message when saving the flow?


Could you show me a screenshot for a reference?


If possible, please also provide your Flow Id for a further investigation.

 


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

Re: Failed to Save, Definition contains Invalid Paramters

I was setting a variable with string type to a string, and for some reason without writing out the WDL expressing @string() it would not accept the set variable option.  That seemed to correct it.

 

View solution in original post

Highlighted
New Member

Re: Failed to Save, Definition contains Invalid Paramters

I know this is an old post but if you can share how you created the WDL I would be most appreciative. I can't seem to find resources for this anywhere and I am getting the same error as you when trying to initialize a variable.

Highlighted

Re: Failed to Save, Definition contains Invalid Paramters

I used a compose action and then used the @string([Field]) expression.  I then used the output from that compose action as input to set the string type variable.

Highlighted
Regular Visitor

Re: Failed to Save, Definition contains Invalid Paramters

Hi!

I had the same error showing off. The problem in my case was that after the initial creation of the flow I made some fields in sharepoint list mandatory. Thus, these fields had to be updated after approval/decline and corresponding parts of the flow had to be adjusted as well. So go through all blocks of your flow an check if there are fields with an asterix sign which are empty.

Hope this will help!

Highlighted
Frequent Visitor

Re: Failed to Save, Definition contains Invalid Paramters

My error resolved by upadting the list to set some fields as optional , updating the flow and again setting them as mandatory.

I have documented it with some detail https://syscloudpro.com/2018/08/19/microsoft-flow-definition-contains-invalid-parameters/

 

Highlighted
Frequent Visitor

Re: Failed to Save, Definition contains Invalid Paramters

A fix that worked for me. Initialize (or set) the entire body as the string variable. MS didn't like some text and a variable. See screencap below. Hope this finds its way back to you people.

ntubergen-grymc_0-1597086472806.png

 

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,198)