You can complete an assigned work item by passing the DataSlot values. This API first assigns the DataSlot values, and then completes the work item. If the work item is successfully completed, then it is removed automatically from the Assigned list.
public void complete()
BP Server client can complete an assigned work item by invoking this API. If the work item is successfully completed, then it is removed automatically from the Assigned list.
Any work item can be completed using this API, irrespective of its state. For example, if a work item is in the Suspended state, then the client can complete it using this API.
Note: Work item removal is allowed only if the work item is not suspended.