locked
WorkFlow still in progress !!! RRS feed

  • Question

  • Hi every body,
    I have a workflow that contain a custom "SequenceActivity" in C#, this esequence try to save data to XML File, but the workflow still in progress without finish, is this concern an issue in the workflow with creating XML File?

     

    Sunday, March 22, 2009 5:23 PM

Answers

  • Load the code for your sequence activity in Visual Studio, put a breakpoint in the part of code you want to debug, then from the menubar select "Debug -> Attach to Process" and select all instances of the CRM Async process.

    Now trigger the initiation of the workflow, and the flow will break in VS. Note that you have to be on the server for this to work. Unless you want to try your hand with remote debugging.
    Wednesday, March 25, 2009 6:39 AM

All replies

  • You should debug your workflow to see why it's failing. You can debug by attaching to the CRM Asynchronous Process.

    Shafraz

    http://crmdude.wordpress.com/
    Monday, March 23, 2009 6:10 AM
  • Hi Nasser, Haw can i debug the workflow?
    Monday, March 23, 2009 8:05 AM
  • Load the code for your sequence activity in Visual Studio, put a breakpoint in the part of code you want to debug, then from the menubar select "Debug -> Attach to Process" and select all instances of the CRM Async process.

    Now trigger the initiation of the workflow, and the flow will break in VS. Note that you have to be on the server for this to work. Unless you want to try your hand with remote debugging.
    Wednesday, March 25, 2009 6:39 AM