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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

No response when Execute Multiple response is used for Creating records.

(0) ShareShare
ReportReport
Posted on by 350

I have a custom entity on which I am trying to create bulk or single records using execute multiple create function .Sometime this is working very well even for 100 or 200 records at once but in some cases mostly for few  records we are not able to get any response at all .I have tried different steps like creating record manually and using REST CREATE function all of them are working but when I try to use execute multiple its not showing any response and also when I try to create this same record with that specific data again after some time (approx. 12hrs) time I can create that same record using execute multiple .We have a plugin on create of that entity.

 

BTW I am using JavaScript Soap Execute multiple here code is generated using Soap Logger.

Does anyone in this community have this same issue ?

 

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: No response when Execute Multiple response is used for Creating records.

    Hi,

    I have seen issues where ExecuteMultiple times out when waiting for responses - even though the actual requests get processed. It seems to be something to do with the gateway between the client and the server deciding that the http connection has been alive for too long and so it cancels it.

    When you see no response - do the requests still get applied to the server?

    I would suggest staying to small batch sizes.

    hth,

    Scott

  • Sai Chaitanya Profile Picture
    350 on at
    RE: No response when Execute Multiple response is used for Creating records.

    The requests are not applied to the server .

    I have tried execute multiple request using 100 batch size had this issue .So had to drastically reduce the batch size to 10 per request but its still the same .

    Sai Chaitanya

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: No response when Execute Multiple response is used for Creating records.

    How long is the request taking before it returns from the call with no response? If it is 60-120seconds then you are probably seeing the gateway timeout issue. Could your plugins be causing the executes to take longer than expected?

    hth,

    Scott

  • Sai Chaitanya Profile Picture
    350 on at
    RE: No response when Execute Multiple response is used for Creating records.

    I got the response in less than 10 seconds time and there is no gateway timeout issue also.Please check the response given below .

    I tried creating and use this same function by disabling the plugin all I get is same response with nothing in it .Cant even figure out if the record is created or not.

    <s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"><s:Body> <ExecuteResponse xmlns=\"http://schemas.microsoft.com/xrm/2011/Contracts/Services\"> <ExecuteResult i:type=\"a:ExecuteMultipleResponse\" xmlns:a=\"http://schemas.microsoft.com/xrm/2011/Contracts\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\"> <a:ResponseName>ExecuteMultiple</a:ResponseName><a:Results xmlns:b=\"http://schemas.datacontract.org/2004/07/System.Collections.Generic\"> <a:KeyValuePairOfstringanyType><b:key>IsFaulted</b:key><b:value i:type=\"c:boolean\" xmlns:c=\"http://www.w3.org/2001/XMLSchema\">false</b:value> </a:KeyValuePairOfstringanyType><a:KeyValuePairOfstringanyType><b:key>Responses</b:key> <b:value i:type=\"c:OrganizationResponseCollection\" xmlns:c=\"http://schemas.microsoft.com/xrm/2012/Contracts\"/> </a:KeyValuePairOfstringanyType></a:Results></ExecuteResult></ExecuteResponse></s:Body> </s:Envelope>
  • ScottDurow Profile Picture
    21 on at
    RE: No response when Execute Multiple response is used for Creating records.

    This looks as though the requests aren't even being submitted. If you take each of the individual requests and submit them using Execute they work ok? Normally I would expect to see a response in the Responses collection.

    Are you using Online or OnPrem - if OnPrem try turning on Platform tracing and look for any issues.

    hth,

    Scott

  • Sai Chaitanya Profile Picture
    350 on at
    RE: No response when Execute Multiple response is used for Creating records.

    These request is submitted I get this above response in success callback  every time .This happens only for less records like if I create 100 records at once I get  this issue for ~1-2 records even these records work fine after sometime like if I wait for some 4-5 hrs or 24 hrs time .I can get good response .But If I retry to import that 1 or 2 records repeatedly it wont work and there wont be any response .

    Btw we are using Online CRM 2011

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans