Mandatory Comments Dialog box when Rejecting change from the Approvers list in Change record

Somujit1
Tera Contributor

Hello Experts,

 

We have a requirement where if the change approver is Rejecting the change from the Approver related list in a change record using the Reject button (list choice/ list context menu UI Action), then a popup/dialog window should display showing the comments field as mandatory and enforcing users to fill in before proceeding. The comments filled in should display under the Activities section of the Approval record.

 

I observed there is a similar OOTB functionality available for Cancel Change (Form context menu UI Action).

 

Can you please help me on how I can achieve the same for approval Reject?

 

Thanks in advance.

2 REPLIES 2

Community Alums
Not applicable

Hi Somujit1  

You can try to create UI action . 

There is a UI action for Cancel change , which pop up comments box and update the change accordingly . 

 

Hello @Community Alums ,

I tried creating a Reject UI Action (as a List choice and List context menu type client callable) with the same logic as for Cancel Change, but it does not seem to work.

The OOTB Cancel Change UI Action ( is a Form Button type and client callable).

Wouldn't client callable work for List choice and List context menu, if you are aware?