Issue with OOTB corrattach activity
After correspondence gets generated and attached to the work object, the content(body) of the email is blank in the attachment section ,but the email gets generated properly to the receiver .
Unable to see the content of the mail
Steps to Reproduce
1)Cretate a case and send mail correspondance.(use property-set-corr, sendEmailNotification,corrAttach)
2)Open the WO by doing a search with WO id , check the attachment section of the WO.
3)The mail icon with subject name will appear as a hyper link in the attachment section .Click on it, another IE window will open as the mail.
To, from subject etc is fine, body/content of the email will be seen as blank.
An issue in the custom application code or rules The parameters .pyBody,.pyReply is not set to the proper value on the pyCorrPage .
Perform the following local-change:
We need to explicitly set the parameters .pyBody , .pyTo , .pyToString to the appropriate values as shown below .
Perform the Obj-Save of pyCorrPage, to ensure that values we have set are commited .
sendEmailNotification only sends the email to appropriate id, it wont attach it to the work object . Hence need to call CorrAttach, to make sure that the generated correspondence gets attached to the WO properly .
0% found this useful