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.

unable to pull the data from email (inbound email action)

durga21
Tera Contributor

I have some custom fields on incident table

1.host city(host_city) 

2.host country(host_country)

when a user sends email with some subject say test INC it should create an inc and map the field values to the form 

example email

 

SUB : test INC

host city : newyork

host country : usa

@atul grover

@Chuck Tomasi  @ankur bawiskar

 

 

it is creating a new inc in inc table but not updating the host city , country values 

i used 

current.host_city = email.body.host city;

current.host_country = email.body.host country ;

in the action tab of inbound action

please update me with your replies

Thanks in advance

1 REPLY 1

sushma9
Tera Contributor

@durga21 

Can you please let me know what are the filed types you are using in the table. I hope you know that if those are the refence fields  you have to use the sys id and for the custom fields back end name will start with u_filed name. Can you please check on that.