Skip to main content
All,

 

 

 

I need some assistance from you all.

 

 

 

I created a Trigger (https://developer.salesforce.com/forums/ForumsMain?id=906F0000000MGph ) that will take the Comments from an approver and send the comments to a custom field long Text field Approver_Comment__c located on a custom object matter__c . The trigger works fine, but when I add an email alert in the “Final Approval Actions” and “Final Rejection Actions” section of the Approval Process, the email sends outdated information from the Approver_Comment__c .  

 

 

 

For example, if value “Test 1” has been entered in the Approver_Comment__c, then a user submits the record for approval. When the approver receives the message and enters “ Test 2 “ in the comments field , then he selects either “ Approve“ or “Reject” button, the email will be sent to the user with the value “Test 1” in the email alert, not “ Test 2 “.

 

 

 

I know this is not a developer community, but if anyone can provide me with a solution, I will really appreciate it. 
2 answers
0/9000