super.handleCancellationFailureEvent(event);
}
}
private Decision createRequestCancelActivityTaskDecision() {
RequestCancelActivityTaskDecisionAttributes tryCancel = new RequestCancelActivityTaskDecisionAttributes();
tryCancel.setActivityId(scheduleAttributes.getActivityId());
Decision decision = new Decision();
decision.setRequestCancelActivityTaskDecisionAttributes(tryCancel);
decision.setDecisionType(DecisionType.RequestCancelActivityTask.toString());
return decision;
}