As per Andrii's post, you can't increase the limit in Crm Online. Some ideas for redesigning your code:
- Within the custom workflow activity, use an ExecuteMultiple or ExecuteTransaction request to combine multiple updates in one call. The code will still be subject to the 120 second timeout, but this might provide a sufficient speed improvement to complete
within this time
- If the first option doesn't work, then you'll either have to split the updates across multiple workflow steps or instances, or execute the code from outside of Crm - you could maybe run something in the Azure Service Bus, or run a batch process (such as
with SSIS) that polls for when to make changes, then does the update
Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk