Inbound Email Action to reject a Request is not working. Whereas the Approval Inbound Actions works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2024 11:28 PM
Hi All,
End users was able to approving the requests without any error, but users are trying to reject the request its not working and logs also not sent to ServiceNow, Kindly help here!
Regards,
Jaya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2024 05:15 PM
Need this information to identify the issue
- Can you observe the "Email Logs" under the related list of the received email and see whether relevant inbound action got "skipped". If skipped, open that record and observe the error message that it is showing. Most of the cases, you will be able to resolve the issue by seeing this.
- Need to observe the Inbound action script and the conditions in case if the above one is not helpful for you.
- Need the email subject line and body of the email
Thanks,
Narsing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:07 AM
Inbound Email Script: Update Approval Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2024 11:30 PM
I am not seeing issues with the script. Probably a try catch block would be enough to see whether you are getting any errors when the script runs on rejections.
As per the screen shot, it looks to me it is failing in the Inbound action conditions itself. The from address is not matching with the condition and looks like the address is added to the CC.
Can you check the condition / try to remove the condition and reprocess it for a testing purpose. If that works, probably need to do something in the condition itself.
Thanks,
Narsing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 12:41 AM
Hi All,
I need help here, I have P1 incident regarding this issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 01:57 AM
You said it was the 'Update Approval Request' Inbound action, but I don't see it in your screenshot of skipped scripts. Or is the script part of the one your screenshot showed (966)? If that's the case, the reason is in your message: it's coming from the wrong email address. But since your email is added to the record, I am assuming at least one inbound action was triggered.
Did it run the update on the 'u_personal_data' table you have scripted if the subject contains 'reject'?
And if you have a P1, it means it is already on PROD? If so: did this ever work? If yes: what changed between then and now?
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
