
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
There are 4 ways to send a notification through Flow created by flow designer. This blog will introduce all types of notifications so you can learn which approach is the best approach for you.
- Event notification - pre-requirement is that you need to create an event and a notification on the target table and configure the event into the notification. When the event is triggered, a notification will be sent out. There are two ways to configure an event in flow: 1) Configure the access directly to the event table (sysevent) ; 2) use a flow action script
- Trigger notification - configure "Send when field" of a notification section ( When to send ) to "Triggered" and then configure this notification directly in a flow using the flow action: " Send notification"
- Send Email - use the action-"Send Email" to configure the notification.
Flow Even Notification
Pre-work- we need to create the following tasks before we can configure the event in flow of flow designer:
- Create an event- go System Policy->Events->Registry to create an event blow:
- Create a notification by configuring the event- flow.incident.notification created above.
Create Event flow- configure the event(sysevent) table (Approach 1)
- Configure flow trigger blow:
- Configure the Event table (sysevent)
For instance, please select sysID field of target table
Test Steps:
- Find one opened incident record and change its state value.
- Verify the generated notification via email log.
Create Flow Action- configure the event within Script steps (Approach 2)
- Create new Flow action below by adding gs.eventQueue('flow.incident.notification'); in Script section if Script step.
- Create a Flow to configure the action flow defined above
Test Steps:
- Find one opened incident record and then save the change after changing "assigned to: field value.
- Verify the notification on emails log.
Flow Send Notification – trigger a notification.
This approach is to trigger a notification directly from a flow directly without using any event. Pre-condition is that create new notification with “Triggered” value in "Send when" field under When to send in a notification.
- Create Triggered notification below:
- Create a flow to configure the triggered notification.
Test Case
- Opened one opened incident and save after changing short description value.
- Go “Emails” log to see whether a notification shall be triggered (see below)
Send Email – configure directly in flow without pre-requirement.
- Create a flow to create “Send Email” action.
- Configure Send Email below.
Summary
I have listed the detail of steps to create a notification for 4 type of notification. You can see the event notification is more advanced approach than others. The event notification can be used for multiple notification as well as easily configured.
However, “Send Email” has less flexibility to be used.
If you like this post, please mark my post useful
- 4,096 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.