Get the user email
This content was last updated in 2024. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 08:04 AM
Hi, I'm working in the script include to get the users email. Currently it is not getting the users email and would like some help.
Here's the script below:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 08:11 AM
Try:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 08:15 AM
That didn't seem to do it when I tested
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 08:22 AM
Can you please provide more details around why you need to get user's email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2024 08:29 AM
Hi @asher14 ,
Is the if condition returning true value ?
Also you can try to hardcode a sys_id in "leadUser" variable and then try the same script in background script to see if it returns the result properly else it will throw some error which you can fix.
Please mark helpful/correct if my response helped you.