- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 11:53 PM
Hi Team,
My inbound email action is triggering but it is not updating the variable. Can you spot where I am going wrong. Below is the script.
The line "current.variables.more_information_required = info_provided" is not working though comments are getting updated properly.
gs.include('validators');
if (current.getTableName() == "sc_req_item") {
current.variables.more_information_required = info_provided;
current.comments = "reply from: " + email.origemail + "\n\n" + email.body_text;
current.update();
event.state="stop_processing";
}
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 12:22 AM
Hi,
If its the value and not the label then put it inside single quotes and test it.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2020 11:58 PM
Hi,
what is info_provided? Is it a variable or static data?
If its static data, enclose it in double quotes and check once.
Mark the comment as a correct answer and also helpful if it has helped to solve the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 12:20 AM
Hi Asifnoor,
info_provided is one of the selectbox values for the variable "more_information_required".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 12:22 AM
Hi,
If its the value and not the label then put it inside single quotes and test it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2020 12:45 AM
Thank you sir . The correct syntax should be 'info_provided'.