# Workflows and Associations

**URL:** <https://community.hubspot.com/t/workflows-and-associations/53240>\
**Category:** CRM\
**Tags:** enterprise\
**Created:** [March 16, 2022, 12:05am UTC](https://community.hubspot.com/t/workflows-and-associations/53240 "2022-03-16T00:05:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stanza](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stanza/32/5125_2.png) [@Stanza](https://community.hubspot.com/u/Stanza)\
**Post date:** [March 16, 2022, 12:05am UTC](https://community.hubspot.com/t/workflows-and-associations/53240/1 "2022-03-16T00:05:28Z")

</div>

Hi,

I have set up workflow that will populatte a field Registration Number when a contact is associated with a company by an association label called ‘Primary Contact’.

 ![Stanza_0-1647389095493.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/5/b5140e132233d747b01904615590af07473875ea.png)

I have found that when I create the contact and then associate to the company the workflow does not trigger.

Howver, if I turn the workflow off and thne on again the company gets enrolled in the workflow and the workflow fires.

Is this expected behaviour ?

Does the workflow not trigger after contact association ?

---

<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:** [March 16, 2022, 5:52am UTC](https://community.hubspot.com/t/workflows-and-associations/53240/2 "2022-03-16T05:52:11Z")

</div>

Hi @Stanza,

The association between company and contact is irrelevant for the enrollment of your workflow. It does not affect enrollment at all: For enrollment, the workflow only checks whether there is any company record in the CRM where “_Registration Number_ is known”.

If you want this workflow to trigger whenever a new contact is associated, you would have to add an additional property to the enrollment criteria. “_Registration Number_ is known AND _Number of associated contacts_ is known”. [Re-enrollment](https://knowledge.hubspot.com/workflows/add-re-enrollment-triggers-to-a-workflow#add-re-enrollment-triggers-to-company-deal-ticket-quote-or-custom-object-based-workflows) should be enabled for both.

Now, when you associated a new contact, the _Number of associated contacts_ updates automatically, HubSpot registers the change (via “is known”) and the company will be re-enrolled, triggering the copy action to be repeated.

Best regards!

---

<div class="post-metadata">

**Author:** ![Stanza](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stanza/32/5125_2.png) [@Stanza](https://community.hubspot.com/u/Stanza)\
**Post date:** [March 17, 2022, 11:25pm UTC](https://community.hubspot.com/t/workflows-and-associations/53240/3 "2022-03-17T23:25:47Z")

</div>

Thank you @karstenkoehler !
