Notification Service

Camunda workflows running in an OMN context can leverage the NotificationService:

public interface NotificationService {

    void sendNotification(Notification notification, DelegateExecution execution);
}

For example:

notificationService.sendNotification(new Notification("FTP-Upload succeeded",
        String.format("The following files have been uploaded to the FTP Server successfully: %n%s", files),
    NotificationLevel.INFO), execution);

This would send a notification at INFO level to the Message Client. Note that this message will only be sent if at least one notification-group is configured to receive notfications at level INFO. See configuration of notifications here.

Welcome to the AI Chat!

Write a prompt to get started...