You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get notification template message as a string

edited Nov 18, 2020 1:40AM in Fusion Service 2 comments

Summary

Get notification template message as a string

Content

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.

  1. def map = new HashMap();
  2. map.put("Channels",["ORA_SVC_EMAIL"]);
  3. //def templateMessageAsString = ?
  4. map.put("MessageText", "This should be templateMessageAsString variable");
  5. map.put("RecipientPartyIdList",[CustomContact_Id_c, PrimaryContactPartyId]);
  6. 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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!