- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 06:33 AM
Hello
I'm trying to set the caller of an incident in an inbound action but it's still set to Guest. Yet my user does exist.
it's supposed to be simple:
current.caller_id = gs.getUserID();
This return me a id which doesn't appear to be the sys_id of whoever sent the email.
Why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 06:41 AM
Hi
gs.getUserID() will work when any user is logged in.
If the sender email matches to any of the users in your instance, that will be applied here otherwise always it will take as Guest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 06:41 AM
Hi
gs.getUserID() will work when any user is logged in.
If the sender email matches to any of the users in your instance, that will be applied here otherwise always it will take as Guest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 06:54 AM
it's my mistake, there was a mistake in my email on this instance. Sorry and thank you for your reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 07:03 AM
Hello,
current.caller_id = gs.getUserID(); should work.
Check if the mail ID using which you are creating the Incidents is available on the user table and active.
Please mark answer correct/helpful based on Impact.