WorkPresentationService
The WorkPresentationService contains functions to perform various operations on work items.
The table below lists the functions available from the WorkPresentationService.
The WorkPresentationService functions do not require a system action.
Function | Description | Returns |
---|---|---|
cancelWorkItem | Cancels the specified work item. Any changes made to the data will be lost when you cancel a work item. | WorkResponseType |
closeWorkItem | Closes a work item form and updates the associated data with any changes the user has made while it was open.
Note: Note that there is a
closeWorkItem function in two services:
This function puts the work item into a Pended state. |
WorkResponseType |
completeWorkItem | Use this function when work on a work item or pageflow has completed. Input and output data associated with the work item is saved to the database. The work item must have a current state of Opened. Its state is changed to Completed.
Note that there is a
completeWorkItem function in two services:
The request must specify the work item to be completed and also provide the payload. The response returns the execution status, the payload received in the request message, the work type details, presentation details and pageflow details (if any). If the work item is part of a chained group, the response returns the next work item in the group. If the work item is piled, the response returns the next piled work item. This function puts the work item into a Completed state. Once completed, no further operations can be performed on the work item. |
WorkResponseType |
openNextWorkItem | Opens the next work item in the work queue. | WorkResponseType |
openWorkItem | Retrieves the associated input and output data and opens the work item form.
There is an
openWorkItem function in two services:
|
WorkResponseType |