# Advanced Policy Violation Rule

**URL:** <https://developer.sailpoint.com/discuss/t/advanced-policy-violation-rule/69084>\
**Category:** IIQ Community Knowledge Base\
**Tags:** identityiq\
**Created:** [June 26, 2024, 2:28pm UTC](https://developer.sailpoint.com/discuss/t/advanced-policy-violation-rule/69084 "2024-06-26T14:28:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![blazejbadzio](https://avatars.discourse-cdn.com/v4/letter/b/e9bcb4/32.png) [@blazejbadzio](https://developer.sailpoint.com/discuss/u/blazejbadzio)\
**Post date:** [July 29, 2024, 1:56pm UTC](https://developer.sailpoint.com/discuss/t/advanced-policy-violation-rule/69084/4 "2024-07-29T13:56:37Z")

</div>

But i want to forbid submitting the request on violation. And it can’t be that setting, since I have two policies (identical when it comes to type, and almost identical when it comes to returned value). But one is forbidding from submitting, and other is allowing for “submit with violation”. Any ideas why?

[Edit] Nevermind, i found it in custom piece of code regarding subprocess to LCM, by doing workflow.put(“allowRequestsWithViolations”, false).  
But thanks for trying 😉

---

_[View the full topic](https://developer.sailpoint.com/discuss/t/advanced-policy-violation-rule/69084)._
