CRM 4.0 Workflow problems when changing long running workflows.

CRM 4.0 Workflow problems when changing long running workflows.

Post by Kay-Christ » Wed, 26 Mar 2008 16:44:28


I've created some long running timeout-workflows which waits for a specific
amount of time after an update is done to my users entity, and then send's
an email to notify the user.

If I unpublish the workflow, makes changes, and publishes it again then the
old instances of the workflow continues running the old workflow, and new
one's are using the new workflow. That is ok, I guess.

My problem is that sometimes the old version of the workflow crashes and
sometimes it is running fine. I've found no reason why it crashes and the
error message only tells me to contact Microsoft.

A possible workaround is to cancel the running instances of a workflow
before changing them and then manually start them again after publishing the
new version. This is a lot of work, so I hope there is another way.

Kay
 
 
 

CRM 4.0 Workflow problems when changing long running workflows.

Post by Robert Mac » Sat, 29 Mar 2008 22:07:32


Is your workflow calling other workflows (or being called by other
workflows) or looping onto itself?

--
Robert MacLean
http://www.yqcomputer.com/

 
 
 

CRM 4.0 Workflow problems when changing long running workflows.

Post by Kay-Christ » Mon, 31 Mar 2008 02:15:05

Yes, my workflow is calling a child workflow before ending,(which is calling
another child again).

The child workflow is sending an email after a specified amount of time.

Kay

"Robert MacLean" < XXXX@XXXXX.COM > skrev i melding