Forward Inbound actions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 07:06 AM
Hi All,
My requirement for inbound action -Type:Forward, it should update the previously created HR case through inbound email action.
in when to run,below one given
condition as email.origemail.indexOf("myinstnace@service-now.com")==-1
actions:
gs.include('validators');
if (current.getTableName() == "sn_hr_core_case") {
current.comments = "forwarded by: " + email.origemail + "\n\n" + email.body_text;
current.work_notes = "forwarded by: " + email.origemail + "\n\n" + email.body_text;
current.update();
}
The instance is receiving my fw email, but its not updating teh case created through my first email to instance(new type alos configured).
Please let me know what do i have to check in this.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 11:17 AM
Hello,
If you open the email record, in "System Mailboxes - Inbound - Received", and look through the Email log in, do you see your Innbound email action in the list?
If so, whats in the Message? Maybe this will guide you in the right direction.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 11:10 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2019 11:17 PM
Use current.insert() inplace of current.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2019 03:15 AM
i need to update the case created already . through my forward inbound action -i need already created thru new inbound action to be updated.