Unable to trigger flow on outbound email in ServiceNow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 01:04 AM
Is it feasible to trigger a flow on creation of outbound email in ServiceNow?
One of the community article suggested to add 'sys_email' table in 'sn_flow_designer.allowed_system_tables' property to show in 'Trigger' is 'Record' but no luck. PFA.
We have trigger > Application > Inbound email - to trigger a flow based on inbound email.
Is there a way to trigger a flow on outbound email creation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2024 03:30 AM
I could think of creating an after insert business rule on sys_email table with a filter condition as Subject contains "Your subject" or any other relevant condition as per your requirement so that the business rule only triggers for a particular email.
Copy the Server side code snippet of your flow from Flow Designer and paste it in the Advanced Scripting section of your business rule. This will ensure that your flow runs whenever your business rule is fired.
Save the Business rule and give it a try.
Thanks & Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.