# Trigger configuration only if multiple different configurations finished successfully

**URL:** https://www.finalbuilder.com/forums/t/trigger-configuration-only-if-multiple-different-configurations-finished-successfully/6997
**Category:** Discussion
**Created:** [March 10, 2021, 2:10pm UTC](https://www.finalbuilder.com/forums/t/trigger-configuration-only-if-multiple-different-configurations-finished-successfully/6997 "2021-03-10T14:10:35Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ktopaz](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/ktopaz/32/2390_2.png) [@ktopaz](https://www.finalbuilder.com/forums/u/ktopaz)
#### Post date: [March 10, 2021, 2:38pm UTC](https://www.finalbuilder.com/forums/t/trigger-configuration-only-if-multiple-different-configurations-finished-successfully/6997/2 "2021-03-10T14:38:41Z")

</div>

Ok found the solution for this, if you have a better one let me know!

- Hold a global variable %WeeklyBuildsCount% set to 0

- Have each of the Weekly configurations increase this variable by 1 using a “Persist Build Variable” type event handler per each configuration.

- Have configuration “Full environment test automation” have 5 triggers  
Each trigger should fire when the specific weekly configuration finishes running successfully  
but also have a trigger condition to fires only when %WeeklyBuildsCount% equals 5.  
(This way all first 4 triggers will not fire, but the 5th will)

- This final “Full environment test automation” configuration resets %WeeklyBuildsCount% to 0 using a “Persist Build Variable” type event handler.

---

_[View the full topic](https://www.finalbuilder.com/forums/t/trigger-configuration-only-if-multiple-different-configurations-finished-successfully/6997)._
