Event-based and custom alerting: receive notifications of workflow execution
Subscribe to notifications from Job planner and Scheduler with ProActive notification service
4 min
Apr 28, 2021 from Activeeon
When scheduling and automating your workloads, you may need to receive notifications and alerts of job execution triggered by workflows you set up and run. Automation Dashboard, included in ProActive Workflows & Scheduling, provides event-based and custom alerting that allows to:
Subscribe to a selection of predefined events and receive notifications in real time: it can be upon jobs executions state and their tasks, the state of the Scheduler or Job planner.
Choose how you wish to be notified by selecting predefined notification methods out of email, SMS, third-party monitoring systems and ticketing, or directly through the notification portal.
Create and manage channels for authorized user groups to subscribe to and trigger custom notifications directly from a job, to be notified or to notify any channel.
Pause job execution using the validation task in your workflow and request user’s confirmation in the notification portal to continue execution.
Request demo
Get started with notifications of workflow executions
ProActive Workflows & Scheduling includes a notification service that allows users to subscribe to event-based notifications triggered either by workflow executions and their tasks, the Scheduler or Job Planner. In order to start receiving notifications from workflow executions, users can create multiple subscriptions binded to different workflows. It can be for a whole bucket from the catalog, workflows belonging to a specific project inside a bucket, or for workflows designed using the workflow studio (not belonging to a bucket). Users can just select different events from a predefined list, specify how they want to be notified and finally activate the subscription to start receiving notifications.
Services subscriptions, that include the Scheduler and Job Planner, allow to be notified of events that could occur on the state of the services. For instance, a notification can be triggered:
- if the Scheduler is frozen or has been killed,
- if the Job Planner couldn’t submit a job according to the calendar and thus it has submitted an unplanned execution,
- if an association is corrupted and its status has been updated to failed.
To start receiving notifications, simply select desired events and activate both notification methods and the subscription.
Easy notification filtering and visualisation
Each notification has a binded severity allowing easy visualisation and filtering options in the Notification Portal. This can be helpful when you have a lot of notifications and want to visualize only critical ones
or any specific severity. Furthermore, the Notification Portal offers extensive filtering options that can be combined not only by severity, but also by event type, job informations (bucket name, project name, workflow name), only notifications triggered from jobs launched by the current user or not read notifications only.
Notification methods: how and where to be notified
Notification methods inside subscriptions define how you want to be notified. There are three notification methods provided by default:
Portal: The notifications will appear in the notification list inside the Notification Portal.
Email: The notification will be sent to you by email using the email provided in the Notification Portal configuration. Email confirmation can be activated to prevent users from providing emails which they do not have access to.
Third-party: This notification method triggers a custom script execution provided beforehands enabling to react when a notification occurs by executing code written in any language supported by the Scheduler. It can be used, for instance, to implement a custom routing for the notification: i.e. forward the notification to a Slack channel.
If available, SMS notifications can easily be configured at the installation of the system. Each of those notification methods can be combined and activated or deactivated in any subscription.
Custom notifications: personal or for groups of users
In addition to event-based notifications, users can create notifications directly inside a workflow. It can be a personal notification that will notify the user who launched the job, or it can notify a group of users by sending the notification to a channel. Each user can create channels and define user groups that are allowed to subscribe to the channel. Thus, when a notification is created for channels, all users subscribed to the channels will be notified.
Adding a validation task in your workflow will pause your job when reaching this task and send a validation request in the Notification Portal. It allows users to manually validate parts of the workflow before resuming execution.
To learn more, do not hesitate to contact us to request a demo of the Notification Portal and Services.
Register for a demo