Design Transfer fails with an object reference error when importing a process

Version 3

    Verified Product Versions

    Service Desk 7.7.xService Desk 7.8.xService Desk 2016.x



    When trying to import a process using design transfer the import fails on a value type with the following error message.


    Insert Business Logic at datatimehere
    Business Logic Handler on implementation class Touchpaper.Classes.Lifecycle.ActionValue executed on object of class type Lifecycle.ActionValue with primary key guidvaluehere.
    Object reference not set to an instance of an object.




    This can occur because there is no window as part of the design tranfer for the value type. When imported the object will be created with the attributes however if a window is not part of the import this will cause the above error. If you encounter this problem please report this to your support provider quoting Problem ID 5152.




    Import the window and objects affected before importing the process by selecting the window (which automatically imports the window attirbutes) in Design Transfer then import these into the target database. The GUID in the error message above can be used to identify the action (from the action value) in the source database.


    When carrying this out ensure that any object links are exported in the Object Designer section of Design Transfer because the values type will be based on these object links. Then import the process design transfer xml which caused the above error.