coordAction.incrementAndGetPending();
}
else {
coordAction.setPending(0);
}
updateList.add(new UpdateEntry(CoordActionQuery.UPDATE_COORD_ACTION_STATUS_PENDING_TIME, coordAction));
if (EventHandlerService.isEnabled()) {
CoordinatorXCommand.generateEvent(coordAction, coordJob.getUser(), coordJob.getAppName(),
coordAction.getCreatedTime());
}
queue(new CoordActionNotificationXCommand(coordAction), 100);