Issue

The ServiceObject definition does not contain a method. ServiceObject : [ItemReference]. Method : [ListProcessInstanceIDs]

Symptoms

When viewing a K2 workflow from a SharePoint list item, the following error is shown:

"The SmartObject Unknown or one of its components could not be resolved.
Error Details: ServiceObject definition does not contain method. ServiceObject : [ItemReference]. Method : [ListProcessInstanceIDs]"

Image

Troubleshooting Steps

This issue could be caused by a missing "Item Reference" Service Object. To verify, expand SmartObject Explorer > All SmartObjects > Item Reference > Methods and click on one of the methods. Notice the red x sign in front of each method.

This missing “Item Reference” Service Object and other OOB Service Objects for the Workflow Reporting Service, Service Instance can be recreated by refreshing the Workflow Reporting Service, Service Instance.