| Line 2204... |
Line 2204... |
| 2204 |
if (authUserKeyMap.get(lead.getAssignTo()) == null) {
|
2204 |
if (authUserKeyMap.get(lead.getAssignTo()) == null) {
|
| 2205 |
LOGGER.info("Assignee no longer part of system {}", lead.getAssignTo());
|
2205 |
LOGGER.info("Assignee no longer part of system {}", lead.getAssignTo());
|
| 2206 |
continue;
|
2206 |
continue;
|
| 2207 |
}
|
2207 |
}
|
| 2208 |
String notificationMessage = String.format(templateMessage, lead.getFirstName(), lead.getLastName(),
|
2208 |
String notificationMessage = String.format(templateMessage, lead.getFirstName(), lead.getLastName(),
|
| 2209 |
lead.getAddress(), timeFormatter.format(lead.getLeadActivity().getSchelduleTimestamp()));
|
2209 |
lead.getAddress(), timeFormatter.format(lead.getScheduledTimestamp()));
|
| 2210 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
2210 |
SendNotificationModel sendNotificationModel = new SendNotificationModel();
|
| 2211 |
sendNotificationModel.setCampaignName("Lead Reminder");
|
2211 |
sendNotificationModel.setCampaignName("Lead Reminder");
|
| 2212 |
sendNotificationModel.setTitle("Leads followup Reminder");
|
2212 |
sendNotificationModel.setTitle("Leads followup Reminder");
|
| 2213 |
sendNotificationModel.setMessage(notificationMessage);
|
2213 |
sendNotificationModel.setMessage(notificationMessage);
|
| 2214 |
sendNotificationModel.setType("url");
|
2214 |
sendNotificationModel.setType("url");
|