Unable to create Case task at sn_customerservice_task table
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 12:13 AM
I kept below condition to validate when a new email is arrived:
Mailbox = Junk
State = Ignored
Receive type = New
Target = Empty
User ID is inactive
State = Ignored
Receive type = New
Target = Empty
User ID is inactive
____________________
(function runAction(/*GlideRecord*/ current, /*GlideRecord*/ event, /*EmailWrapper*/ email, /*ScopedEmailLogger*/ logger, /*EmailClassifier*/ classifier) {
// Implement email action here
current.short_description = email.subject;
current.description = email.body_text;
current.u_from_address = email.recipients;
current.u_customer_email = email.user_id.email;
current.insert();
})(current, event, email, logger, classifier);
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 08:09 PM