# Test Trigger Criteria - Highlight which trigger failed

**URL:** <https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029>\
**Category:** HubSpot Ideas\
**Tags:** workflows\
**Created:** [April 25, 2023, 4:39pm UTC](https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029 "2023-04-25T16:39:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CBrown42](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbrown42/32/38114_2.png) [@CBrown42](https://community.hubspot.com/u/CBrown42)\
**Post date:** [April 25, 2023, 4:39pm UTC](https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029/1 "2023-04-25T16:39:41Z")

</div>

I love the HS automation, the UI is intuitive and easy to use. I especially love the ability to test out your criteria to see if it will behave as expected, and that it will target/include only those you wish.  
My suggestion is to enhance the warnings given when testing (and failing), so that the exact trigger that failed is identified.  
In the below example, I know that this automation will fail for that tested company, but I don’t know (at a glance) _which_ criteria caused the failure.  
It would be great if there were a checkbox, or perhaps a highlight, of _only_ the criteria that failed. So below, I know it was the “Contact Attributes” = Any of “Onboarding Team”…  
But the error just makes the whole block red.  
I do realize that parsing out the different parts to see where the failure occurred may not be possible (I presume in the background a SQL query is generated from the full criteria, so it’s a ‘whole’ query, not piecemeal or sequential), but if it can be done that would be great.  
Thank you.

 ![CBrown42_0-1682440569016.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/f/8f193c88c75a4b67fa0440cc7e51230031fb0efa.png)

---

<div class="post-metadata">

**Author:** ![HaVdb](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/havdb/32/30511_2.png) [@HaVdb](https://community.hubspot.com/u/HaVdb)\
**Post date:** [July 11, 2023, 2:35pm UTC](https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029/2 "2023-07-11T14:35:00Z")

</div>

OMG yes! This is so needed! Would save me a lot of time.  
Also, seeing which enrollment triggers/trigger group had triggered the contact to enroll in the workflow would be nice! (e.g. view enrollments \> check a specific contact \> enrollment criteria group turns green).  
A bit like in this HS Idea: [https://community.hubspot.com/t5/HubSpot-Ideas/See-which-trigger-enrolled-re-enrolled-a-contact/idi-p/631999](https://community.hubspot.com/t5/HubSpot-Ideas/See-which-trigger-enrolled-re-enrolled-a-contact/idi-p/631999)

---

<div class="post-metadata">

**Author:** ![HaVdb](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/havdb/32/30511_2.png) [@HaVdb](https://community.hubspot.com/u/HaVdb)\
**Post date:** [November 17, 2023, 9:36am UTC](https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029/3 "2023-11-17T09:36:00Z")

</div>

Hey @CBrown42 ,

Not sure if you’ve noticed; but you can now see which enrollement trigger a certain object met.

You’ll have to go to the details of the workflow to dive into it though.

Workflow → Details (top left corner) → Enrollment history → Diagnose  
It doesn’t specify the group filter number and the filters are not in the same order per se as in the workflow; so there’s some manual work needed to then adapt triggers if need be, but it’s already a solution to the initial issue here I think! 😉

 ![image.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/f/ff388dc22354650f156e4ecf101dbebf84262824.png)

---

<div class="post-metadata">

**Author:** ![CBrown42](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbrown42/32/38114_2.png) [@CBrown42](https://community.hubspot.com/u/CBrown42)\
**Post date:** [November 17, 2023, 4:20pm UTC](https://community.hubspot.com/t/test-trigger-criteria-highlight-which-trigger-failed/80029/4 "2023-11-17T16:20:17Z")

</div>

@HaVdb  
Thank you! Manual is ok, at least there is a mechanism.  
Have a great day!
