Workflow Validaition Failed - Interface Type not set

Hi to all,

I'm putting this into separate thread, because many can find it interesting. My original question is: "I've created a xoml based state machine workflow. I'm using HandleExternalEventActivities in it. Everything is ok, but when I try to create the workflow, it's validation failed. The reason is property InterfaceType of every HandleExternalEventActivity is not set (is null), but in the xoml they are set to the correct type. What I'm missing "

The interesting thing is that when I back serialize the workflow to xoml, this property is correctly set. Any ideas



Answer this question

Workflow Validaition Failed - Interface Type not set

  • lfranklin

    This is a known issue with XOML-based activation (i.e. using the XmlReader overload for CreateWorkflow) and the HandleExternalEventActivity. It will be fixed for RTM. The workaround, right now, use the overload - CreateWorkflow(Type workflowType);

    Thanks,

    Arjun


  • kezhu

    Anyone getting this problem too


  • Shambhu

    So we have to wait for the RTM. Any dates for it Why don't you guys release one more CTP

    By the means of this post is there any workaround to load defenition of running instance in to designer control and then change it's definition (if it is created with - CreateWorkflow(Type workflowType) overload).



  • Workflow Validaition Failed - Interface Type not set