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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Error creating rule

(0) ShareShare
ReportReport
Posted on by 5

Receiving the following error when creating a rule for case creation in CRM. Can someone point me in the right direction here? 

pastedimage1658174616636v1.png

Technical Details below: 

<s:Envelope xmlns:s="">schemas.xmlsoap.org/.../faultcode><faultstring xml:lang="en-US">Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create a record (don't rename this step)': The API operation 'CreateRecord' is missing required property 'item/new_alerttoquality'.'."}}".</faultstring><detail><OrganizationServiceFault xmlns="">schemas.microsoft.com/.../Contracts" xmlns:i="">www.w3.org/.../ErrorCode><ErrorDetails xmlns:a="">schemas.datacontract.org/.../a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">Plugin/Microsoft.Crm.Service.ObjectModel.ConvertRuleService</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiSourceActivityKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string"/></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiExceptionOwnerKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">OwnershipNotFoundInExceptionOwnerSettings</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiOriginalExceptionKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">Microsoft.Crm.CrmException: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create a record (don't rename this step)': The API operation 'CreateRecord' is missing required property 'item/new_alerttoquality'.'."}}". ---&gt; Microsoft.Crm.CrmException: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create a record (don't rename this step)': The API operation 'CreateRecord' is missing required property 'item/new_alerttoquality'.'."}}".
at Microsoft.Crm.Service.ObjectModel.ConvertRuleService.SetStateForAny2AnyChannel(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
at Microsoft.Crm.Service.ObjectModel.ConvertRuleService.InternalSetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.&lt;&gt;c__DisplayClass3_0.&lt;RunStep&gt;b__0()</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepKey</a:key><a:value xmlns:b="">schemas.microsoft.com/.../" i:type="b:guid">7b7bbaec-5d03-4fee-a207-e8398a74fd37</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiDepthKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">1</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiActivityIdKey</a:key><a:value xmlns:b="">schemas.microsoft.com/.../" i:type="b:guid">d52a15f0-3bad-4fdf-a6b6-4b6d0bd66bac</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiPluginSolutionNameKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepSolutionNameKey</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiExceptionCategory</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">ClientError</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiExceptionMessageName</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:string">FlowServiceClientError</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiExceptionHttpStatusCode</a:key><a:value xmlns:b="">www.w3.org/.../XMLSchema" i:type="b:int">400</a:value></KeyValuePairOfstringanyType></ErrorDetails><HelpLink>go.microsoft.com/.../ client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create a record (don't rename this step)': The API operation 'CreateRecord' is missing required property 'item/new_alerttoquality'.'."}}".</Message><Timestamp>2022-07-18T20:00:31.963131Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>d52a15f0-3bad-4fdf-a6b6-4b6d0bd66bac</ActivityId><ErrorCode>-2147089305</ErrorCode><ErrorDetails xmlns:a="">schemas.datacontract.org/.../><HelpLink i:nil="true"/><Message>Flow client error returned with status code "BadRequest" and details "{"error":{"code":"InvalidOpenApiFlow","message":"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create a record (don't rename this step)': The API operation 'CreateRecord' is missing required property 'item/new_alerttoquality'.'."}}".</Message><Timestamp>2022-07-18T20:00:31.963131Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 101 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 83

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans