hi
i have problem with crm query data in dialog
i have a dialog that i serach on order product of specific order then i show this result in option set response but i get this error
order products of this order is just one record!
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: For synchronous workflow query Results can not be very big (should be less than 1000 records).Detail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>For synchronous workflow query Results can not be very big (should be less than 1000 records).</Message> <Timestamp>2017-12-16T07:39:32.9385943Z</Timestamp> <InnerFault> <ErrorCode>-2147220970</ErrorCode> <ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Plugin Trace: [Microsoft.Crm.Workflow: Microsoft.Crm.Workflow.Activities.QueryData] [QueryStep1: Select Order Product] Error Message: Unhandled Exception: Microsoft.Crm.CrmException: For synchronous workflow query Results can not be very big (should be less than 1000 records). at Microsoft.Crm.Workflow.Services.QueryDataActivityService.ExecuteQuery(String fetchXml, QueryData queryDataActivity, Int32 fetchCount) at Microsoft.Crm.Workflow.Activities.QueryData.Execute(CodeActivityContext context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation) </Message> <Timestamp>2017-12-16T07:39:32.9385943Z</Timestamp> <InnerFault i:nil="true" /> <TraceText i:nil="true" /> </InnerFault> <TraceText i:nil="true" /> </OrganizationServiceFault>
*This post is locked for comments