Worklist Service (Deprecated)
The Worklist service is useful for interacting with worklist items.
The sample code provided as a demonstration is written for use with Web based forms. Sample code for Windows based forms will be available in a future release of the Developer's Reference
IWorklistNamespaceService can be used in a way that most of the data can be returned directly from GET without having to manually poke into objects that are returned. For example, we could get the WorklistItem(1_18) and that would return EVERYTHING in the process, but we could also drill down and only get data from inside it (e.g. WorklistItem(1_18)/DataFields(CustomerName)).
ITaskService, however, mostly requires that data is sent in the POST payload (as opposed to the GET parameters) and does not encourage “URL exploration”. It is built for sync and not for web apps. So when you ask ITaskService for Task(1_18) you will get that Task (worklist item) and there is no way to drill down into it – you get ALL the data and are expected to cache it.
Worklist Methods
Worklist/Items/SearchForWorklistItems
Worklist/Items/ExecuteAction
Worklist/Items({SerialNumber})
Worklist/Items({SerialNumber})/Actions
Worklist/Items({SerialNumber})/Actions({Action})
Worklist/Items({SerialNumber})/Actions/Delegate
Worklist/Items({SerialNumber})/Actions/Redirect
Worklist/Items({SerialNumber})/Actions/Release
Worklist/Items({SerialNumber})/Actions/Sleep
Worklist/Items({SerialNumber})/Actions({Action})/Execute
Worklist/Items({SerialNumber})/ProcessInstance
Worklist/Items({SerialNumber})/ProcessInstance/DataFields
Worklist/Items({SerialNumber})/ProcessInstance/DataFields({DataFieldName})
Worklist/Items({SerialNumber})/ProcessInstance/XmlFields
Worklist/Items({SerialNumber})/ProcessInstance/XmlFields({XmlFieldName})
Worklist/Items({SerialNumber})/ActivityInstanceDestination
Worklist/Items({SerialNumber})/ActivityInstanceDestination/DataFields
Worklist/Items({SerialNumber})/ActivityInstanceDestination/DataFields({DataFieldName})
Worklist/Items({SerialNumber})/ActivityInstanceDestination/XmlFields
Worklist/Items({SerialNumber})/ActivityInstanceDestination/XmlFields({XmlFieldName})
Worklist/Items({SerialNumber})/Destinations
Worklist/Items({SerialNumber})/Destinations({DestinationName})
Worklist/Items({SerialNumber})/EventInstance