When opening a workflow in K2 for SharePoint, a SmartObjectServer Exception appears
kbt164516
PRODUCTIssue
When opening or trying to create a new workflow for an application in K2 for SharePoint, you receive a SmartObject Server exception. You are unable to open or create new workflows after. This is only happening for a particular list.
Symptoms
No workflows can be created on the List. Existing workflows cannot be edited either.Troubleshooting Steps
Check the Application Logs in the Event Viewer to see what the issue may be.
If you are seeing something similar to this:
The issue is that there are orphaned items in the Category.Data table. By removing the orphaned items you will be able to open the workflow or create new ones.
How to check the Category.Data table
- Check the Integration.ProcessSharePointSetting table to see the Category associated with the List.
- Check the Category.Category table to confirm this is the correct category.
- Check the Category.Data table and see if anything looks like it should not be in here. Maybe a form or view that was deleted, anything that looks a little strange.
- Open a Support ticket to receive a script to delete the orphaned objects.