// if its suspended, move it to executing first
if (wir.getStatus().equals(WorkItemRecord.statusSuspended))
unsuspendWorkItem(wir);
if (wir.getStatus().equals(WorkItemRecord.statusFired) ||
wir.getStatus().equals(WorkItemRecord.statusEnabled)) {
CheckedOutItem coi = executeWorkItem(wir);
wir = coi.getChildWorkItem(0);
}
_ixClient.cancelWorkItem(wir.getID(), false, _sessionHandle);
_log.info("WorkItem successfully removed from Engine: " + wir.getID());