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
Imran MohammedImran Mohammed 

Update comments during Reassign Approval request

Hi,

 

Can we update comments when an Approval Request is reassigned to another user using Apex?

I am able to update the Actor Id on ProcessInstanceWorkItem, but could find no way to update the Comments field of the ProcessInstanceStep using Apex.

 

If standard Reassign functionailty is used, the comments can be updated and could be seen in Approval History.

 

Any help or pointers will be highly appreciated.

Hanish HHanish H

Hi,

Were you able to find a solution to update comments when reassigning approval requests via apex. Please share your solution.

 

Thanks.

 

 

AMolinaAMolina

I'm also having troubles entering comments when re-assigning an approval request using apex