The K2 Services have been greatly enhanced with the addition of new RESTful services that allow interacting with processes, worklists and user information in a similar fashion to the K2 Workflow Client API, along with a task list interface optimized for low bandwidth and offline batch processing scenarios, commonly referred to as “Sync”.  The enhanced K2 Services documentation, with new information on configuration and REST URIs, can be found in the Developer Reference > Services Reference > K2 Services section.  To ensure alignment across all web services, the associated WCF and WS endpoints were enhanced as well, causing some naming and structural changes.  The alignment will cause breaking changes for any application consuming the WCF or WS endpoints available in KB001230.  To address these changes the application service reference should be updated/refreshed and references, operations, and data contracts modified for any affected areas listed below. 

 

K2 Service Renamed To Moved To
IWorkflow::StartNewProcessInstanceScalar: IProcessService
IWorkflow::OpenProcessInstance: IProcessService
IWorkflow::OpenProcessInstanceDataFields: GetProcessInstanceDataFields IProcessNavigationService
IWorkflow::OpenProcessInstanceDataField: GetProcessInstanceDataField IProcessNavigationService
IWorkflow::OpenProcessInstanceXmlFields: GetProcessInstanceXmlFields IProcessNavigationService
IWorkflow::OpenProcessInstanceXmlField: GetProcessInstanceXmlField IProcessNavigationService
IWorklist::OpenWorklist: IWorklistService
IWorklist::OpenWorklistItem: IWorklistService
IWorklist::OpenWorklistItemProcInst: IWorklistNavigationService
IWorklist::OpenWorklistItemProcInstDataFields: IWorklistNavigationService
IWorklist::OpenWorklistItemProcInstDataField: IWorklistNavigationService
IWorklist::OpenWorklistItemProcInstXmlFields: IWorklistNavigationService
IWorklist::OpenWorklistItemProcInstXmlField: IWorklistNavigationService
IWorklist::OpenWorklistItemActInstDest: OpenWorklistItemActivityInstanceDestination IWorklistNavigationService
IWorklist::OpenWorklistItemActInstDestDataFields: OpenWorklistItemActivityInstanceDestinationDataFields IWorklistNavigationService
IWorklist::OpenWorklistItemActInstDestDataField: OpenWorklistItemActivityInstanceDestinationDataField IWorklistNavigationService
IWorklist::OpenWorklistItemActInstDestXmlFields: OpenWorklistItemActivityInstanceDestinationXmlFields IWorklistNavigationService
IWorklist::OpenWorklistItemActInstDestXmlField: OpenWorklistItemActivityInstanceDestinationXmlField IWorklistNavigationService
IWorklist::OpenWorklistItemEventInst: OpenWorklistItemEventInstance IWorklistNavigationService
IWorklist::ExecuteActionBySerial: IWorklistService
IWorkflow::StartNewProcessInstance: IProcessService
IWorkflow::UpdateProcessInstance: IProcessService
IWorkflow::WhoAmI: ICoreService
IWorklist::ExecuteActionByWorklistItem: IWorklistService