Complete A WorkItem.

Complete A WorkItem.

Complete a WorkItem.

  • A work item may only be completed by:
    • One of its assignees
    • A delegate of one of its assignees
    • A privileged, administrator user
  • A work item may be completed by any of the actions associated with its work item type
  • Work items may be completed via an incoming notification (e.g. email) This may be done by replying to an email sent by the work item queue.
  • The client application will be notified when a work item is completed.
  • The client application must provide a REST service to be notified of completion. The service will be passed:
    • The form data of the work item that has been completed
    • The action that completed the work item
    • Useful work item metadata

Sequence Diagram

<img src='../../workitem-service/api/docs/complete-workitem.png'>

Request
URI
POST
https://{api_host}/work-item-service/api/workitems/{workItemId}/actions/{actionId}
COPY
Path Parameters
string
workItemId
Required

The workitem id.

string
actionId
Required

The action id.


Request Body
WorkItemActionComplete of type(s) application/json
Optional
{
    "workItemActionId": "string",
    "formData": {
        "entries": [
            {
                "key": "string"
            }
        ]
    },
    "workItemId": "string"
}
string
workItemActionId
Optional

workItemActionId

formData
Optional

formData

string As uuid As uuid
workItemId
Optional

workItemId

Responses
200
Operation doesn't return any data structure