Getting Recipients data from the Mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2024 04:37 PM
Hi All,
I am working on a inbound action and I was trying to fetch the details of the recipients from the email. When the inbound action was in global scope the recipients details were fetched properly but when it is in the HR Scope it did not fetch the results. Could you please help me what would have caused the issue and how can I fix it.
Script when the Inbound action is in Global Scope:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 01:20 AM
Hi @Sagar Rd ,
You can use email.copied instead of email.recipients.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 01:22 AM
Hi @Sagar Rd ,
FYI,
email.copied | Contains a comma-separated list of email addresses in the Cc: box. |
email.recipients | Contains a comma-separated list of recipient addresses as a plain text string, in the To: box. |
email.recipients_array | Contains the recipient addresses as an array. |
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------