CancelWorkItem
Data entered or changed for the specified workitem is canceled.
Action | CancelWorkItem |
Parameter |
|
Return | VoidResult |
Example |
private void cancelWorkItem(WorkItem item) { ManagedId id = toManagedObject(item); BPMWebClientService.getInstance().execute( new CancelWorkItem(ClientConstants.USER_ID, id, ClientConstants.CHANNEL_ID, ClientConstants.CHANNEL_TYPE), new AsyncCallback<VoidResult>() { @Override public void onFailure(Throwable caught) { Window.alert("Error: " + caught.getMessage()); } @Override public void onSuccess(VoidResult result) { Window.alert("Work item cancelled"); getWorkList(); } }); } |
Copyright © Cloud Software Group, Inc. All rights reserved.