Get notification template message as a string
Summary
Get notification template message as a stringContent
We have a requirement to sent an email notification triggered by SR creation to multiple recipients.
The custom field on SR object of type [Choice List (Dynamic) <PersonProfile>] is not accessible through Object workflow => Email Notification as a recipient.
I tried to proceed with adf.util.sendNotification(java.lang.Object,java.util.HashMap) function in the trigger.
- def map = new HashMap();
- map.put("Channels",["ORA_SVC_EMAIL"]);
- //def templateMessageAsString = ?
- map.put("MessageText", "This should be templateMessageAsString variable");
- map.put("RecipientPartyIdList",[CustomContact_Id_c, PrimaryContactPartyId]);
- adf.util.sendNotification(adf, map);
Question: Is there any way to get the email notification template message as a string and pass it a a
Tagged:
0