Data Policy exception : The following fields are mandatory : comments

PriyanshuVerma1
Tera Expert

There is a data policy applied on sysapproval_approver table to make comments mandatory when approval is rejected.

There is an ui action button : reject.

Whenever I fill the comments and hit Reject button I get the data policy exception but still it gets updated and approval is rejected. Attaching the screenshot below

PriyanshuVerma1_0-1689854599795.png

 

I am not able to understand why I am getting the error even though condition of data policy is fulfilled. Also if I change the state to rejected from requested and fill the comment field and use save instead of reject button I won't get the error message. Same way if I did this with UI policy instead of data policy I am not getting any such error. 

5 REPLIES 5

PriyanshuVerma1
Tera Expert

AI is also not able to explain the error message. I checked on the ai too. There is nothing relevant i could find

Admin7267
Kilo Sage

@PriyanshuVerma1 Did you have solution for this case?

No actually. We dropped this for time being.

Sohail Khilji
Kilo Patron
Kilo Patron

the execution time of data policy and comments getting added are varying this must be the reason...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect