Hey everyone,
I have an event handler that is supposed to fire on the Workflow.StageEntered event. This event handler updates a project level custom field and publishes the project.
The problem is, when I try to publish, the workflow is still "moving" (either because of commit or submit), so the publish from the event handler collides with the publish from the workflow itself and everything just sits in the queue waiting for the other to finish. This eventually ends in a time out error and the workflow terminates.
Has anyone tried to update a project from the StageEntered event? how did you get around this problem?
EDIT: this only seems to happen after a project is Committed.
120811049008