Error when use SetState in sharepointworkflow RRS feed

  • Question

  • Hello,

     I use  the activity WorkFlowActions.SetState. And in the method invoking I write the following lines :

      SetState o = sender as SetState;
     o.State = (int)SPWorkflowStatus.InProgress;

    it gives me the following exception "Exception has been thrown by the target of an invocation." .

     How Can I solve it?


    Sunday, October 21, 2012 9:28 AM