"Invalid assignment: Cannot make an assignment to a deleted group" or "Invalid assignment: Cannot make an assignment to a deleted user" error when creating an assignment

Version 3

    Verified Product Versions

    LANDESK Service Desk 2016.xLANDESK Asset Central 2016.x

    Problem:

    When performing an action or saving an incident one of the following error messages is displayed:

     

    Invalid assignment: Cannot make an assignment to a deleted group.

     

    error1.jpg

    Invalid assignment: Cannot make an assignment to a deleted user.

     

    error2.jpg

     

    Cause:

    The error is generated when an assignment is being made to a soft deleted user or group. User and Group records are soft deleted so their data can be maintained (an explanation of what soft deleted means can be seen here http://community.landesk.com/support/docs/DOC-3842). However if they are used in an assignment this makes the assignment invalid.

     

    Solution:

    The solution is to find the assignment which has caused the error within the process design and amend it or the value it is referring to so the assignment can be made to a valid user. This can be achieved by looking at the "where am I?" diagram after the error occurs to see the exact point in the process where the error occurred.

     

    There are two ways the process could be pointing to a deleted user:

     

    1) A deleted user or group is referenced directly in the process.

     

    In the assignment any links that have been made directly to deleted users (completed in the field) should updated to valid user or group. The error message above will show if the problem is with a user or group.

     

    2) A runtime value is retrieving a user or group that has been deleted.

     

    The deleted user or group could also be being populated by a runtime value. The location of the runtime value would have to be found for either the group or the user. Then the reference picked up by the runtime value would have to be changed or the source value amended so the assignment can be made.

     

    Please make sure that any changes made using Process Designer are tested first on a test copy of the database. Any changes should be carried out by a Process Designer trained technician. Before any changes are made to the live database, a backup of the database must be taken and nobody else should be logged in while changes are made.  In the event of any problems after making changes, the database should be restored from the backup copy.