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
‎11-21-2024 12:06 AM
I had a similiar situation: On incident added the field "time_worked" and made the "comments" mandatory for the table "task_time_worked". Trying to save the incident record caused the data policy exception. The "time_worked" field inserts a new record in the "task_time_worked" table and the comments are not given.