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.
The ServiceObject definition does not contain a method. ServiceObject : [ItemReference]. Method : [ListProcessInstanceIDs]
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]"
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.