Skip to content

Commit

Permalink
refactor: replace ExecuteMultiple with ExecuteMultipleSolutionHistory…
Browse files Browse the repository at this point in the history
…Operation

#89
  • Loading branch information
iainlomax81 committed Oct 23, 2024
1 parent d11fee6 commit d97a421
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ private void ExecuteSetStateRequests(IEnumerable<OrganizationRequest> requests,
do
{
var timeout = 120 + (remainingRequests.Count * 10);
var executeMultipleRes = string.IsNullOrEmpty(user) ?
this.crmSvc.ExecuteMultiple(remainingRequests, true, true, timeout) : this.crmSvc.ExecuteMultiple(remainingRequests, user, true, true, timeout);
var executeMultipleRes = this.crmSvc.ExecuteMultipleSolutionHistoryOperation(remainingRequests, user, this.logger, timeout);

successfulResponses = executeMultipleRes.Responses
.Where(r => r.Fault == null)
Expand Down

0 comments on commit d97a421

Please sign in to comment.