Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
How to confirm that Outlook Actionable Messages embedded approval request has been included inside an Email Notification? - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • How to confirm that Outlook Actionable Messages embedded approval request has been included inside an Email Notification?
KB0750361

How to confirm that Outlook Actionable Messages embedded approval request has been included inside an Email Notification?


17373 Views Last updated : Nov 20, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

  • You have activated the Outlook Actionable Messages plugin (com.sn_ms_oam).
  • You have included in a Notification Template the call to the email script "include_approval_actionable":  ${mail_script:include_approval_actionable}
  • When an email notification is sent, you don't see the Approve or Reject buttons in the email record.

Cause

The Outlook Actionable Messages actions do not show in the email body as standard Approve or Reject links. 

According to Microsoft documentation (*) regarding sending actionable message by email, the following describes how the same it is added to the email body: 

"To embed an actionable message card in an email message, we need to wrap the card in a <script> tag. The <script> tag is then inserted into the <head> of the email's HTML body." 
"Because the card JSON must be wrapped in a <script> tag, the body of the actionable message email MUST be HTML. " 

(*) Send an actionable message via email in Office 365 
https://docs.microsoft.com/en-us/outlook/actionable-messages/send-via-email 

Resolution

Look into the notification's sys_email record HTML body for the occurrence of the tags <script> and </script>. A JSON payload must exist in between the tags. 

If your notification contains the <script> tags and the JSON content, then the Outlook Actionable Messages was successfully included in the email notification. 

For example:

<script>{ 
"$schema":"http://adaptivecards.io/schemas/adaptive-card.json", 
"type":"AdaptiveCard", 
"version":"1.0", 
"hideOriginalBody":true, 
"expectedActors":["user@company.com"], 
"style":"emphasis", 
"originator":"1b0e10fd-f0aa-4b15-9afe-080d0ff-1b932", 
"body":[{"type":"Container","items":[{"type":"TextBlock","text":".....

.....

{"type":"Action.OpenUrl","title":"View Approval Request","url":"https://<instance_name>.service-now.com/sysapproval_approver.do?sys_id=39763fdedbad3300e906d12c5e1a1b52"}]}]}
</script>

 

Related Links

Troubleshooting Actionable Messages not included in email notification

NOTE

The Outlook Actionable Messages (OAM) feature is not supported in all Microsoft mail products and versions. To verify whether your version of Outlook supports OAM, refer to the Microsoft documentation.

If the Actionable Message does not show on the client side when the email is open, but the script content was included in the email notification, then the most probable cause is that Outlook Actionable Messages is not configured on the client side or it is not supported by the client version.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

Attachments

Attachments

No attachments found

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.