Data Policy exception : The following fields are mandatory : comments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 05:06 AM - edited 07-20-2023 05:07 AM
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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 06:01 AM
AI is also not able to explain the error message. I checked on the ai too. There is nothing relevant i could find
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 06:44 AM
@PriyanshuVerma1 Did you have solution for this case?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 03:07 AM
No actually. We dropped this for time being.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 03:29 AM
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....