Designing a workflow to send notifications
Сatalog administrators might need to create workflows to send notifications to defined recipients. They can use any of the following actions to send notifications:
- Send In App Notification—To display a notification on the dashboard of a BMC Digital Workplace Catalog administrator.
- Send Email—To send an email to any email address.
Sending in app notifications
You can insert the Send In App Notification element anywhere in a workflow, and specify the following input parameters:
Receiver—User who receives the notification.
- Title—Summary of the notification.
- Content—Content of the notification.
The following workflow shows an example of how the Send In App Notification action can be used.
In this example, hannah_admin is the login ID of the user who receives a notification when an external Remedy system executes the Get Entry by Query action.
The notification sent to hannah_admin includes the following details specified in the Send In App Notification action:
- Get Entry By Query title—Specified in the Title field.
- The JSON output generated from the Get Entry by Query—Specified in the Content field.
You must have SMTP enabled on the BMC Digital Workplace Catalog server before you can use the Send Email action in your workflows. For details about how to enable SMTP, see Configuring SMTP for BMC Digital Workplace Catalog.
You can insert the Send Email element anywhere in a workflow, and specify the following input parameters:
Receiver—Email address of a user who receives the email.
You can specify only one email address at a time. To send notifications to multiple users, use a multi-instance loop with a comma-separated list of email addresses. Alternatively, you can use your email client to create a distribution list. For more information, see Processing data sequentially and in parallel.
- Title—Subject of the email.
- Content—Body of the email.
To create a new line in the email, use a New Line variable or a
("TEXT FROM THE FIRST LINE<br>TEXT FROM THE SECOND LINE")function. For a Service Broker Context variable, use two
The following workflow shows an example of how a Send Email action can be used.