K2 Studio - "SmartObject does not exist on the server. Name:'[GUID]'

  • 24 February 2022
  • 0 replies
  • 8 views

Userlevel 5
Badge +20
 

K2 Studio "SmartObject does not exist on the server. Name:'[GUID]' error appears

kbt134623

PRODUCT
K2 blackpearl
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.
LEGACY/ARCHIVED CONTENT
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.

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.


0 replies

Be the first to reply!

Reply