return item.getTemplateName() + " (" + item.getId() + ")";
}
@Override
protected BpmNotificationConfig createItem() {
BpmNotificationConfig item = new BpmNotificationConfig();
item.setActive(true);
item.setLocale(I18NSource.ThreadUtil.getThreadI18nSource().getLocale().toString());
if (mailProperties.size() == 1) {
item.setProfileName(mailProperties.get(0).getProfileName());
}
return item;
}