Flow Designer Restriction with Reference to the sysevent_email_action Table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
I'm trying to configure a dynamic notification process for a customer to allow them to map Alert Rules to Notifications for specific stages. In Flow Designer, there is an action for "Send Notification" that requires a GlideRecord variable for the Notification (sysevent_email_action) table. However, when I try to setup a variable for that table, it is not available as a reference variable type. Additionally, the system throws an error if I try to simply pass the sys_id of a notification to the variable.
To get around this I am looking to find a way to easily replicate the Send Notification Flow Action with a custom action and scripts (Note: You can't declare an appropriate Reference inside of a custom action either, so leveraging the Custom Action step to Send a Notification is not an option).
Currently I have limited the action to only work with notifications that fire from events and have the scripts setup to determine the event from the notification and to fire it accordingly. However I believe the Flow Designer "Send Notification" action works for any notification and ideally this wouldn't be a limitation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
You have to create your notification first and that should be on the table you want to trigger the notification from.
Set the 'condition' of the notification to 'triggered' and once you have done that, you can both select the table and the notification in the action.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Selection from the menu isn't the problem, the issue is in dynamically specifying the notification from a flow variable or the output of a previous action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Then why not use the script option there? Use the variables to decide with notification you need.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark