Redwood Help Desk :How to add Subject in Triggers — Cloud Customer Connect
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

Redwood Help Desk :How to add Subject in Triggers

edited Oct 18, 2024 3:00AM in Help Desk 1 comment

Summary:

Hi, I have a requirement to trigger messages to an inbox whenever any updates made on SR.

I have made below script but want to include Subject as well , also want it to appear it in next line.

Can experts please assist?

try {
def objectCode = 'HRHelpDeskRequestVO'
def parentSR = HRHelpDeskRequest
def recipientPartyId;
def messageText = 'Service Request has been updated (https://enno.fa.ap1.oraclecloud.com/crmUI/helpdesk/vp/edit-hrhd?srNumber='+SrNumber+'&stripeCode=ORA_SVC_HRHD-'+ Title)'
def map = new HashMap()
Long objectId = SrId
map.put("ObjectId", objectId)
map.put("Channels", ["ORA_SVC_EMAIL"])
map.put("ObjectCode", objectCode);

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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