This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.

Issue

When attempting to add a SmartObject method to a process by clicking on the SmartObject category, the following error appears: "SmartObject does not exist on the server. Name:'[GUID]'

Image

Symptoms

The error below occurred due to the SmartObject being regenerated, but it was not regenerated to use the existing guid. The SmartObjects were still being referenced in the category.

Note: The SmartObject was deleted in the SmartObject Tester Tool, which is not supported as it leaves orphan artifacts in the database that cause the Categories to break.

Troubleshooting Steps

Run the below script with the GUID's displayed in K2 Studio.

Select * from [K2].[Category].[Data] where data = '[GUID]' select * from [K2].[Dependency].[Dependency] where DependantId = '[GUID]'
Should the results display data, it would indicate orphaned Categories and/or K2 Objects, which is the cause of the error.

To resolve this issue, direct database modification will be required. Please log a K2 Support Ticket on the K2 Customer Portal for assistance in resolving the issue.