Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Inbound action

TalitaA
Tera Contributor

Hi community 

Im trying to create a incident using inbound action but for some reason, its not creating, the target field is empty 

im receiving the emails on the instance but its not creating the incident. i will provide the screenshot of my inbound action as well the emails received 

6 REPLIES 6

Brian Lancaster
Kilo Patron

Instead of using field action try just doing that in code.

current.short_description = email.subject;
current.description = email.body_text;
current.u_ppsm_incident = true; //I'm not sure if this is correct because as fare as I know this is not a OOB field.
current.insert();

Hi Brian,

I didn't work. I think there might be some OOB configuration that is stopping the incident creation 

Does the email address that the email is coming from exist as a user account? Out of the box it will normally not create an incident if it cannot find an account for the incoming email address.