Peter Peer
Peter Peer

Reputation: 41

CRM 2011: How to let a processing workflow run very long

I have a crm 2011 workflow with a assembly which will run about 1-3h depending on the amount of data. How can I make this happen in the sandbox?

thanks

Upvotes: 0

Views: 641

Answers (1)

Josh Painter
Josh Painter

Reputation: 4111

The sandbox service has a processing limit of 2 minutes, so this certainly won't be possible for CRM Online. You may be able to update the sandbox processing limit if you are on-premise, but I don't recommend it for a 1-3 hour process, because you'll quickly run out of worker processes and other workflows and plugins will fail.

You should probably set up an external web service that does this work. Then in your workflow assembly, fire off the external web service. That way you can explicitly control timeouts in a separate web application.

Upvotes: 3

Related Questions