- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 01:11 AM - edited 02-23-2023 01:17 AM
Hi,
I'd like the description field of the incident form to be auto populated based on the body of the email which the incident is created from.
How do I go about this?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:09 AM
Hi @JordyZ
you can write below code in inbound email
current.description = email.body_text;
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:09 AM
Hi @JordyZ
you can write below code in inbound email
current.description = email.body_text;
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:41 AM
Hi @priyasunku ,
Thanks for replying. What should I select for "Action type" and when to run "type"? and condition?
Apologies for the basic question, I've never set up inbound email actions before.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 03:20 AM
Hi Jordy,
In action type you can specify Record action and when to run can be any condition,
For example, if you are looking for something specific like an email subject/email sender should be any particular email id.
Subject: email.subject.indexOf
email.recipients.toLowerCase().indexOf etc
Please mark answer helpful if it answers your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2023 02:48 AM
Hi @JordyZ
Its okay please select the fields as mentioned in the screenshot.
you can do basic mapping as mentioned here
current.caller_id = gs.getUserID();
current.short_description = email.subject;
current.category = "inquiry";
current.incident_state ='1';
current.contact_type = "email";
current.description = email.body_text;
current.impact = 3;
current.urgency = 3;
current.insert();
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful