function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KCLKCL 

how to save opp approval and rejection comments in Opp related list.

how to save opp approval and rejection comments in Opp related list.
Bavadharani GanesanBavadharani Ganesan
Hi Vra,

You can query the comments by using below query,
SELECT Id, Comments FROM ProcessInstanceStep
Then by using this query, you can store these comments in any text area field by using Triggers.

Please let me know if you got it!