How to add 'Does not start with' operator in Inbound email flow trigger conditions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 05:28 AM - edited 01-10-2024 05:34 AM
Hello,
We want to supress our inbound email flow to not run on email where subject starts with 'Unsubscribe from" so that OOTB Inbound action will run for those inbound emails and for rest our flow will continue. But we dont have 'Does not starts with' operator in trigger conditions and also condition builder where we can write script is also not available in flow triggers.
Anyone have any idea how we can achieve this?
Thanks,
Karishma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 05:42 AM
check this link
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 06:00 AM
@Ankur Bawiskar we dont have a condition field where we can call a script include in inbound flow trigger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 06:08 AM
then you can have custom flow action which will check if the inbound flow needs to proceed or not
within that custom action use GlideRecord and that logic shared in the above link
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 06:23 AM
@Ankur Bawiskar no we cant do that.. If we do that then our flow will trigger and OOTB Inbound action wont, which we dont want. We dont want to trigger our flow at all in this case so that OOTB inbound action will trigger and perform all actions for Unsubscribed notifications.