The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Inbound Action - Condition Question

jlaps
Kilo Sage

I have a requirement to allow incident creation via email for some VPN Client testers. The plan is to create an Outlook template for the email with a set SUBJECT and prompts for COMMENTS to be copied into the created incident.

 

I want to include a condition though that will check either for the email to coming from one of the two domains we allow by checking the email address, or better, confirming that the sender is actually in the system (if they have an email on the domains, they should be).

 

My existing conditions all require a specific email address, which will not work here. What is the syntax on the conditions to either do a domain check on the email address, or confirm it matches to an existing user?

 

Thanks!

Jeff

1 REPLY 1

Bimlakar Singh
Tera Expert

Hi Jeff,

Please follow the below video URL, on how to create and configure using the condition and script.

 

if the sender is not in the user table incident created will seem to be a guest.

 

you can select from the user to check if the user exists in the system or can allow by condition for two domains.

 

 

BimlakarSingh_4-1693323412049.png

Set value using Condition

 

BimlakarSingh_2-1693322821546.png

 

Set value using Script

 

 

//can set the value using the script or from action

current.caller_id = gs.getUserID();
current.comments = "received from: " + email.origemail + "\n\n" + email.body_text;
current.short_description = email.subject;

current.category = "inquiry";
current.incident_state = IncidentState.NEW;
current.notify = 2;
current.contact_type = "email";

current.insert();

 

 

https://www.youtube.com/watch?v=dhjLiwtT97E

 

please click on Helpful button if answer is correct.