CompleteWorkItem
Complete a work item (and update the associated input and output data).
Action | CompleteWorkItem |
Parameter |
|
Return | WorkItemResult |
Example |
private void completeWorkItem(WorkItem item) { BPMWebClientService.getInstance().execute( new CompleteWorkItem(item, ClientConstants.CHANNEL_ID, ClientConstants.CHANNEL_TYPE, ClientConstants.USER_ID), new AsyncCallback<WorkItemResult>() { @Override public void onFailure(Throwable caught) { Window.alert("Error: " + caught.getMessage()); } @Override public void onSuccess(WorkItemResult result) { Window.alert("Work item completed :" + result.getToDoItem().getId()); getWorkList(); } }); } |
Copyright © Cloud Software Group, Inc. All rights reserved.