# Cancel successive JobFilterAttriubtes

**URL:** <https://discuss.hangfire.io/t/cancel-successive-jobfilterattriubtes/9168>\
**Category:** question\
**Tags:** job-filters\
**Created:** [May 24, 2022, 5:15pm UTC](https://discuss.hangfire.io/t/cancel-successive-jobfilterattriubtes/9168 "2022-05-24T17:15:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMackey](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/smackey/32/2703_2.png) [@SMackey](https://discuss.hangfire.io/u/SMackey)\
**Post date:** [May 24, 2022, 5:15pm UTC](https://discuss.hangfire.io/t/cancel-successive-jobfilterattriubtes/9168/1 "2022-05-24T17:15:54Z")

</div>

Is it possible to stop the successive filter execution from an earlier JobFilterAttribute exection?

---

<div class="post-metadata">

**Author:** ![aschenta](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/aschenta/32/2837_2.png) [@aschenta](https://discuss.hangfire.io/u/aschenta)\
**Post date:** [May 31, 2022, 11:00pm UTC](https://discuss.hangfire.io/t/cancel-successive-jobfilterattriubtes/9168/2 "2022-05-31T23:00:05Z")

</div>

Can you give an example of what you’re trying to achieve? Do you have multiple filters, for example A, B, C, D and want B to be able to prevent C and D from running? Are you trying to prevent Hangfire from doing something? Do you mean, say OnCreating preventing OnCreated from executing on the same filter for the same job?
