lucasalexander / AlexanderDevelopment.ProcessRunner

This is an open source Dynamics CRM solution for scheduling and executing recurring workflows
http://alexanderdevelopment.net/
Apache License 2.0
24 stars 8 forks source link

Page Size doesnt change anything #3

Open StephaneSeguin opened 5 years ago

StephaneSeguin commented 5 years ago

Hello, I'm changing the Page size to limit the number of record by batch created. We have more then 5000 records to update.

I'm getting a 2 min timeout error. Is the page size should overcome the 2 min timeout?

Also unable to use top =1000 in the fetch query because Page Size parameter is used.

lucasalexander commented 5 years ago

No, changing the page size wouldn't be expected to resolve the issue. My recommendation is to split the data into multiple batches. For example, if you have a recurring process to execute on contacts, you could add an additional filter criterion for last names starting with a particular set of letters. You could then clone that recurring process to select contacts with last names starting with a different set of letters. This approach should let you work around the timeout problem.