caller is setting as a guest using inbound action

sharayudeshmukh
Kilo Contributor

Hi All,

We have defined inbound action of type "New" which will create incident in service now.But for some users caller is setting as a guest.I have checked the in the user table , these users are exists.I am not able to find out what will be the reason behind this.Because as per my understanding if user is not in the user table, service now set caller as guest. But here the case is different, user is there in the user table still it is setting as a guest. Below is the inbound action which we have written for creation of incident.

current.caller_id = gs.getUserID();

current.comments = "received from: " + email.origemail + "\n\n" + email.body_text;

current.short_description = email.subject;

current.category = "request";

current.subcategory = "password";

current.incident_state = 1;

current.notify = 2;

current.contact_type = "email";

current.insert();

Thanks in advance -:)

6 REPLIES 6

Abhinay Erra
Giga Sage

Do they have access for creating new records in that table?


sharayudeshmukh
Kilo Contributor

Yes..they have access for creating new records as well..