SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a workflow that creates a new task at the time of creation of a new item in a given list. This new task is assigned to a user when created. Then, this task can either be reassigned or completed. If the task is completed, the workflow ends. If the task is reassigned, the task should be completed, another task should be created assigned to another user, and the workflow continues.

I have the issue that when the second task is created(first task is reassigned) the workflow ends and the onTaskChanged of the second task is never hit.

Any Ideas?

share|improve this question
up vote 1 down vote accepted

I found the error I had. I was trying to store an instance of SPFieldUserValue in a class variable of the workflow class. SPFieldUserValue is not serializable and was trhowing an error. This caused that the workflow terminated, so it just halted.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.