use of org.eclipse.vorto.repository.notification.message.WorkItemPendingMessage in project vorto by eclipse.
the class PendingApprovalNotification method execute.
@Override
public void execute(ModelInfo model, IUserContext user, Map<String, Object> context) {
LOGGER.debug("Executing workflow function: " + this.getClass());
User account = accountService.getUser(user.getUsername());
if (account != null) {
notificationService.sendNotification(new WorkItemPendingMessage(account, model));
}
}
Aggregations