Outlook Actionable Messaging

sravanip
Tera Contributor

Hi. This is regarding Outlook Actionable Messaging for approvals.

1. Installed sn_ms_oam

2. Modified sc_req_item notification message - ${mail_script:include_approval_actionable}

Is there anything else I am missing here. I previewed the notification and don't see any changes. 

How to test the feature. What other things I am supposed to look out here.

Thank You

1 ACCEPTED SOLUTION

RaghavSh
Kilo Patron

Check "Application Registry" table and look for "Outlook Actionable" oauth creds.

If that is fine , your outlook actionable items will work

 


Raghav
MVP 2023

View solution in original post

9 REPLIES 9

It is not an issue, as far as i remember fot meeting invitations and outlook actionable items the preview is empty. You will have to enable the notifications and test it from outlook.

 

Before enabling outbound emails, clear the email logs and update the system property so that emails are not sent from dev/qa instance to other users


Raghav
MVP 2023

This is the email I received in outook

find_real_file.png

This is the email body I see and the outlook is just -- Ref:MSG80831813_2PTgfpDEnSWTF8DEqQ0 

 

<html><head></head><body><p><script type="application/adaptivecard+json">{"$schema":"http://adaptivecards.io/schemas/adaptive-card.json","type":"AdaptiveCard","version":"1.0","hideOriginalBody":true,"expectedActors":["123@abc.com"],"padding":"none","originator":"130e10fd-f029-4b15-9afe-080d08b1b932","body":[{"type":"Container","padding":{"left":"default","top":"default"},"items":[{"type":"TextBlock","text":"Pending Approval","weight":"bolder","size":"medium"}]},{"type":"ColumnSet","width":"auto","padding":{"left":"default"},"columns":[{"type":"Column","width":"auto","items":[{"type":"Image","style":"Person","url":"https://abc.service-now.com/t=small","size":"Small"}]},{"type":"Column","width":"stretch","items":[{"type":"TextBlock","weight":"Bolder","text":"Requested by 123(123ab)","wrap":true},{"type":"TextBlock","spacing":"None","text":"234@abc.com","isSubtle":true,"wrap":true}]}]},{"type":"ColumnSet","width":"stretch","padding":{"left":"default"},"columns":[{"type":"Column","items":[{"type":"FactSet","facts":[{"title":"Date Submitted:","value":"2018-09-25 02:32:30 AM EDT"},{"title":"Category:","value":""},{"title":"Short Description:","value":"\nReconciliation for UP-483"},{"title":"Priority:","value":"4 - Low"},{"title":"Link:","value":"[CHG0035996](https://abc.service-now.com/task.do?sys_id=178d1958)"}]}]}]},{"type":"Container","padding":"default","separator":"false","spacing":"none","items":[{"type":"ActionSet","padding":"default","spacing":"Medium","actions":[{"type":"Action.ShowCard","title":"Approve","card":{"type":"AdaptiveCard","body":[{"type":"Input.Text","id":"approve_note","isMultiline":true,"placeholder":"Enter approval comments"}],"actions":[{"type":"Action.Http","method":"POST","title":"Submit","url":"https://abc.service-now.com/api/sn_ms_oam/oam/approval","body":"{\"sys_id\":\"81b94fe1de5898dc96196b\",\"action\":\"approve\",\"comments\":\"{{approve_note.value}}\",\"language\":\"en\"}","headers":[{"name":"Content-Type","value":"application/json"}]}]}},{"type":"Action.ShowCard","title":"Reject","card":{"type":"AdaptiveCard","body":[{"type":"Input.Text","id":"reject_note","isMultiline":true,"placeholder":"Enter rejection comments"}],"actions":[{"type":"Action.Http","method":"POST","title":"Submit","url":"https://abc.service-now.com/api/sn_ms_oam/oam/approval","body":"{\"sys_id\":\"81b94f01de5898dc96196b\",\"action\":\"reject\",\"comments\":\"{{reject_note.value}}\",\"language\":\"en\"}","headers":[{"name":"Content-Type","value":"application/json"}]}]}}]}]},{"type":"Container","padding":{"left":"default","top":"small","bottom":"small","right":"default"},"separator":true,"spacing":"none","items":[{"type":"TextBlock","text":"[View Approval Request](https://abc.service-now.com/sysapproval_approver.do?sys_id=81b94f01db96196b)","size":"small"}]}]}</script></p><div>&nbsp;</div><div style="display:inline">Ref:MSG80831813_2PTgfpDEnSWTF8DEqQ0</div></body></html>

 

Please guide me on the issue here. Thank You

Hi @sravanip I am also facing the same issue, will you please let me know how it worked for you. 

Application registry getting created, adaptive card script is added in mail body but actionable message not coming in outlook.

Thanks in advance

 

Hi did you complete the ask.