if (task.getTaskName().equals(processDeadline.getTaskName())) {
String assigneeLogin = task.getAssignee();
Map<String, UserData> notifyUsers = prepareUsersForNotification(ctx, assigneeLogin, processDeadline);
// everything is good, unless it’s not
I18NSource messageSource = getI18NSource();
ProcessStateConfiguration st = ctx.getProcessDefinitionDAO().getProcessStateConfiguration(task);
String taskName = messageSource.getMessage(st.getDescription());
for (UserData user : notifyUsers.values()) {
if (processDeadline.getSkipAssignee() != null && processDeadline.getSkipAssignee() && user.getLogin().equals(assigneeLogin)) {
logger.info("Skipping deadline signal for assignee: " + assigneeLogin);
continue;