caller is setting as a guest using inbound action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 09:41 PM
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 -:)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 09:47 PM
Are the emails present for those user records\ in the instance? It checks fro the email address and if it finds in the instance, it impersonates that user or else it will impersonate the guest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 10:02 PM
Yes..these emails are present for those records in the instance.Still it is setting as a guest..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 10:07 PM
Are they inactive?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2016 10:10 PM
No they are active.