locked
Sharepoint sequential workflow(Visual Studio 2010) "onTaskCreated_Invoked" event not firing. RRS feed

  • Question

  • Hi,

    I have written a sequential workflow using VS2010 in which there is 2 level of approval, for commitee 1 and commitee 2.

    For 1st level of approval everything work fine, and for second level approval the "onTaskCreated_Invoked" method is not fired. because of which the email and users are not updated to task list. below is the piece of code:

    private void createTask_MethodInvoking(object sender, EventArgs e)
            {
               
                    //This is working properly
                      
            }

     

    private void logToTaskCreated_MethodInvoking(object sender, EventArgs e)
            {
                logToHistoryFinalCommitteeTaskCreated_HistoryDescription1 = "This is working properly";
            }

    private void onCreated_Invoked(object sender, ExternalDataEventArgs e)
            {
                     //this needs to be worked every time it is sometimes getting fired and sometimies does not.
            }

    Please help and suggest some feed back why this is happening the third method should get fired every time but it is not.

    responses are appreciated.

    Thanks

    Tuesday, September 4, 2012 11:32 AM

Answers