Why do I get a Runtime Error when I try to associate a workflow with a content type?


  • Hi Jeffrey,

    We need to publish the workflow to site first, after that we will associate it with content types successfully. Otherwise, we will get System.NullReferenceException: Object reference not set to an instance of an object error. And in your video, I saw you just saved the workflow but haven’t published it yet.

    Best regards,

    Emir Liu

    TechNet Community Support

    23. března 2012 7:15