Inbound Email body not copying to Additional comments in HR case
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 05:24 AM
Hi
My requirement is when HR case is closed,if user responds to any of the email, then the reply of the email body should copy to additional comments and state should change to work in progress
But the email body is not copying to additional comments as i found an inbound action which is working fine for active cases (like if we send respond to email, email body is copying to additional comments),
But whereas in inactive cases, the email body is not copying to additional comments section
i have checked Business rules which i found nothing related to this
pasting the inbound email script
gs.include("validators');
if(current.getTablename() == "sn_hr_core_case");
current.comments="reply from:" +email.origemail+"\n\n"+email.body_text;
current.update();
please guide me if i am missing anything
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 06:09 AM
no no...!!
It will set the field when this Inbound email action runs.
In your case , It would be State to "Work in progress" something like this.
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-26-2023 06:26 AM
But for setting to state " work in progress" we have business rule for this part which is working fine
only issue is email body not copying to additional comments