Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @Jamesd251,
I agree with you, sometimes is annoying to have these multiple eMails for the same user. If possible I would try to work on the root cause, why the same records is added with different mails into the ServiceNow user table and the subscription portal. Maybe other tools are not in sync (HR, AD, ...)
If you would like to solve it based on the SaaS script, take a look into this.
- The script "SAMSaasSubscriptionUtils" (table sys_script_include) is called when the subscription user data is processed and the following function is used (line 212)
- This function referees to the following script "SAMSaasIntegrationUtils" (line 4, table sys_script_include)
- This script contains the function "getsysuser" (line 199) to resolve the UPN with a sys_user records.
Here you can try to adjust the script to also include your second email field etc.
Best, Dennis
Should my response prove helpful, please consider marking it as the Accepted Solution/Helpful to assist closing this thread.