Turn off email Incident creation

Brian Lancaster
Tera Sage

We want to turn off email incident creation for end users but we have a few email addresses we need to allow thought.   In out dev environment I put an if statement around the Create Indent script that says

If (email.origemail == 'my email address'){

All the default code

 

}

 

but when I send in the email it does not create a ticket.   How can I set it up so that it will allow certain email addresses though to create incidents?

1 ACCEPTED SOLUTION

randrews
Tera Guru

on the inbound action for create incident put the people that are allowed to create an incident from email in the from field on the form.. that should fix it;   doing it this way will require a seperate inbound action for each person that can create one...



if that wont' work.. then i would create a system property for allowed to create incidents from email and put in the login id's in a comma seperated value list.. then i would set a condition based on that list   haven't played with it yet.. so that might be more complex and i would prolly go with the first option.


View solution in original post

1 REPLY 1

randrews
Tera Guru

on the inbound action for create incident put the people that are allowed to create an incident from email in the from field on the form.. that should fix it;   doing it this way will require a seperate inbound action for each person that can create one...



if that wont' work.. then i would create a system property for allowed to create incidents from email and put in the login id's in a comma seperated value list.. then i would set a condition based on that list   haven't played with it yet.. so that might be more complex and i would prolly go with the first option.