cancel
Showing results for 
Search instead for 
Did you mean: 

How to set mandatory User Comment field when approving a document

isaac_ariza_cruz
Participant
0 Kudos

Hi all,

We are trying set mandatory field "Comments" which appears when current approver press "Approve" or "Reject" button:

To do that, we have tried several options:

- Page Customization (applying it to class WorkItem)

- Script of Document Lifecycle - Validation  (applying it to class WorkItem)

- Script of Field Validation (applying it to class WorkItem)

However, we have not achieve this requirement.

Could you please help us on how to cover this functionality?

Thanks in advance for the help and support and best regards,

Isaac

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Isaac,

Please go to Page Customizatoin->select Workflow Approval Wizard-> select Comments field-> then select Required.

Reards,

David

isaac_ariza_cruz
Participant
0 Kudos

Hi David,

First of all, thanks for the support.

However, I've customized in the following way but it is still not working. Could you please let me know what I'm doing wrong?

Thanks agan and best regards,

Isaac

0 Kudos

Hi Isaac,

Please create another same Workflow Approval Wizard in PC and don't select the parent class, and see if it works.

Regards,

David

isaac_ariza_cruz
Participant
0 Kudos

Hi David,

Thanks! Now it works!

Best regards,

Isaac

Answers (0)