# Trigger workflow on 2 field values set to True

**URL:** <https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860>\
**Category:** Lists, Lead Scoring & Workflows\
**Tags:** workflows\
**Created:** [December 4, 2024, 11:24am UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860 "2024-12-04T11:24:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BalintSipos](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@BalintSipos](https://community.hubspot.com/u/BalintSipos)\
**Post date:** [December 4, 2024, 11:24am UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860/1 "2024-12-04T11:24:57Z")

</div>

Hey all,

So triggering a workflow is relatively easy to do if you have 1 field that needs to have a specific value.

However I’d like to trigger a workflow when 2 fields are set to a specific value.

However in UI I see no option for that. I can’t have an “AND” to add a second field to this Property value changed criteria.

I would need to have 2 fields set to “Yes” in order for this workflow to trigger? How can I do that easily?

---

<div class="post-metadata">

**Author:** ![karstenkoehler](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/karstenkoehler/32/68554_2.png) [@karstenkoehler](https://community.hubspot.com/u/karstenkoehler)\
**Post date:** [December 4, 2024, 11:30am UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860/2 "2024-12-04T11:30:39Z")

</div>

Hi @BalintSipos,

Do you need the event trigger criteria for this, is it important which value was in the property before? If not, I’d recommend changing your enrollment trigger type from event to “When filter criteria is met”, then specifying both property filters with the AND operator. With the event enrollment trigger type, I don’t think this is possible.

Best regards

---

<div class="post-metadata">

**Author:** ![BalintSipos](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@BalintSipos](https://community.hubspot.com/u/BalintSipos)\
**Post date:** [December 4, 2024, 12:31pm UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860/3 "2024-12-04T12:31:19Z")

</div>

You are right. I don’t need the previous value. I just set it up with when filter criteria is met.

Thanks Karsten.

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [December 4, 2024, 11:32am UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860/4 "2024-12-04T11:32:22Z")

</div>

Hi @BalintSipos

I believe the “AND” is implied, have you tested this with a sample contact to see if it would enrol?

Alternatively, don’t use the “when an event occurs” filter but the “when a filter criteria is met”, this shows the “AND” operater. Certain triggers work with both event and filter criteria.

Frank

---

<div class="post-metadata">

**Author:** ![BalintSipos](https://avatars.discourse-cdn.com/v4/letter/b/da6949/32.png) [@BalintSipos](https://community.hubspot.com/u/BalintSipos)\
**Post date:** [December 4, 2024, 12:02pm UTC](https://community.hubspot.com/t/trigger-workflow-on-2-field-values-set-to-true/121860/5 "2024-12-04T12:02:06Z")

</div>

Thanks but you can’t add another property to that when the trigger is the when an event occurs. So there would be nothing to imply on.

But yeah with when filter criteria is met I can add the AND operator. Which should work:
