- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:22 AM
This is regarding inbound action for receiving emails.
My goal is to write an inbound action that will run if the email is a certain email X, with a certain subject Y. I believe this can be done by setting the run conditions such that
recipients is emailX AND subjects is subject Y.
This inbound action is set as active and is for the incident table.
I am testing this in my personal instance. I am send the email and it shows up in my inbox.
However, I don't think the inbound action is executing. In the script, i have gs.log("test message") and it doesn't show up in system logs.
How can I tell for certain if an inbound action is executing or not?
And if it is not executing, will it tell me why it is not executing?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:27 AM
Hi Youchan,
If you go to the received email, from System Logs > Emails,
and check the Email Log, in the related list of that received email, it will show you what did the system process and what did it ignore.
You can start troubleshooting from here. It will also show you if it skipped your inbound email action or not.
PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.
Regards
Supriya Bisht
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:27 AM
Hi Youchan,
If you go to the received email, from System Logs > Emails,
and check the Email Log, in the related list of that received email, it will show you what did the system process and what did it ignore.
You can start troubleshooting from here. It will also show you if it skipped your inbound email action or not.
PS: Mark this answer as Correct if it solved your query or hit Like/Helpful depending upon the usefulness of the response.
Regards
Supriya Bisht
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:33 AM
Thanks for replying.
It seems that the received email has 0 Email Logs. Why is this so, when I have an active inbound action that should be applyign to this email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:37 AM
Would you mind sharing the conditions used in the inbound action along with the scripted actions that it is expected to take?
Also, I hope you are already taking care of the fact that the inbound action is catering to the received email according to if it's a New, Reply or a Forward email.
Regards
Supriya Bisht
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2017 10:44 AM
this is my conditions.
this inbound action is active, record action, and incident table.
in actions tab, it just has the following:
(function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger, /*EmailClassifier*/ classifier) {
// Implement email action here
gs.log("SOS--\n");
gs.log("test message);
})(current, event, email, logger, classifier);