How "OnTaskChanged" and "OnWorkFlowItemChanged" work together?

الإجابة How "OnTaskChanged" and "OnWorkFlowItemChanged" work together?

  • Monday, April 30, 2012 9:19 AM
     
     

    Hello all,

    I have created a sequential workflow in visual studio 2010. I have little problem in that. Generally when we change a task "OnTaskChanged" actvity runs and when we change or update any field on the form "OnWorkFlowItemChanged" activity runs.

    When i place these both activities in the same workflow. only "OnTaskChanged" activity runs when i change a task. But "OnWorkFlowItemChanged" does not run when i change any field on the form.

    Can anyone please draw a model/diagram in visual studio 2010 sequential workflow in which both the activities are placed in the order that if we change any task "OnTaskChanged" activity should run, or if we change any field on the form then "OnWorkFlowItemChanged" activity should run.

    Thanks in advance.

All Replies