How to edit the Outlook Actionable Message(OAM) definition on RITM Approval components?

madhuri15
Tera Contributor

Hi All,

 

We are working on changing the approval notifications into Outlook Actionable Message. After adding the "${mail_script:include_approval_actionable}"  into our approval notification, approval email is getting displayed in the below format with "Approve, Reject and View Details buttons. Is there any way to modify the content that is being displayed after clicking the "View Details" button? 

 

madhuri15_0-1695408583170.png

On Click of "View Details, I want to hide the Price, Quantity and make little alignments. The entire notification content is configured through "OAM RITM Approval"  definition. Is there any way to do it? Any help on this is appreciated.

 

madhuri15_1-1695408796655.png

 

 

3 REPLIES 3

Harsh Kumar Dub
ServiceNow Employee
ServiceNow Employee

The OOTB file sn_ms_oam.ApprovalAdaptiveCardGenerator._getViewDetailsAction() contains the logic to generate the above View Details section but ApprovalAdaptiveCardGenerator file is read only file so it' not allowed to be modified. ApprovalAdaptiveCardGenerator can be overriden and _getViewDetailsAction function can be rewritten in overriden class

Konner Lester
Tera Expert

@madhuri15 Did you ever figure this out. I am in the same situation where I am working on making our approval emails into the actionable outlook messages but I would like to makes subtle adjustments to the "View Details" section. Thanks 

HimaniB19
Tera Contributor

This could be modified from OAM Definition "OAM RITM Approval"