In an Inbound email how can i put condition "subject Contains".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 08:56 AM
I have created one inbound email Action which is used to create a new ticket everytime if it gets desired email.
Now i do not know that how can i put one condition in inbound email so that it only create new ticket everytime only when the email's subject contains a string "orange company". Please suggest !.
- Labels:
-
Personal Developer Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 11:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 11:54 AM
If you want to use below script. otherwise you can use oob inbound email action "Update Incident".
if (email.subject.toLowerCase().indexOf("orange company") >= 0)
gr = new Incident().reopen(gr, email) || gr;
gr.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
If you want to use condition in inbound email actions.
If it is useful, please mark it as complete.
Thanks
SP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-20-2022 11:55 AM