ReofferWorkItem
Workitems that are currently offered to specific user are re-offered to the users in the original offer set.
Action | ReofferWorkItem |
Parameter Notes | item: the work item to reoffer. This can be retrieved by calling GetToDoList. |
Return | VoidResult |
Example |
private void reofferWorkItem(WorkListItem item) { ManagedId id = toManagedObject(item); HashSet<ManagedId> ids=new HashSet<ManagedId>(); ids.add(id); BPMWebClientService.getInstance().execute(new ReofferWorkItem(ids), new AsyncCallback<VoidResult>() { @Override public void onFailure(Throwable caught) { Window.alert("Error: " + caught.getMessage()); } @Override public void onSuccess(VoidResult result) { Window.alert("Work item re-offered"); getWorkList(); } }); } |
Copyright © Cloud Software Group, Inc. All rights reserved.