Skip to main content

Notifications

Announcements

No record found.

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>

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans