# Create a dependency

**URL:** <https://community.hubspot.com/t/create-a-dependency/72108>\
**Category:** CRM\
**Tags:** crm\
**Created:** [January 3, 2023, 2:30pm UTC](https://community.hubspot.com/t/create-a-dependency/72108 "2023-01-03T14:30:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahesh\_Wagh](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mahesh\_Wagh](https://community.hubspot.com/u/Mahesh_Wagh)\
**Post date:** [January 3, 2023, 2:30pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/1 "2023-01-03T14:30:55Z")

</div>

Hi,

I wanted to create a dependency between Close data and Quarter property. So when we change close data, the quarter value should change automatically.

How should I do it?

---

<div class="post-metadata">

**Author:** ![CateDuarte](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cateduarte/32/78852_2.png) [@CateDuarte](https://community.hubspot.com/u/CateDuarte)\
**Post date:** [January 4, 2023, 1:56pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/2 "2023-01-04T13:56:19Z")

</div>

Hi [@Mahesh\_Wagh](https://community.hubspot.com/t5/user/viewprofilepage/user-id/497367) I believe this could be achieved using a Workflow but would need more detail.

When you say close date I undertstand its the custom HubSpot property used in Deals. By Quarter what are you looking for here? There are filters for Quarter (that use Close Date) . Are you talking about a custom property?

Sorry but in order to help I would need more info.

Thank you,

---

<div class="post-metadata">

**Author:** ![Mahesh\_Wagh](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mahesh\_Wagh](https://community.hubspot.com/u/Mahesh_Wagh)\
**Post date:** [January 4, 2023, 2:39pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/3 "2023-01-04T14:39:52Z")

</div>

Hi @CateDuarte ,  
Thanks for your help,

The Close date is a standard property, but we have created Custom drop-down property, “Quarters” - Month Values

Q1 - Jan-Mar

Q2- Apr-Jun

Q3 - July-Sept

Q4 - Oct-Dec

We have created a workflow when someone creates a deal with a close date with one of this month; It’ll get assigned to the proper quarter.

Ex- Deal ABC = Close Deal Date -20/02/22 Quarter will be Q1

Its working for new deals.

But when we change the close date month in the existing Deal. The quarter value is not changing automatically.

Ex- Deal ABC = Changed Close Deal Date -20/05/22, Quarter will be Still Q1 (Its suppose to change to Q2)  
Please help me with it!

---

<div class="post-metadata">

**Author:** ![CateDuarte](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cateduarte/32/78852_2.png) [@CateDuarte](https://community.hubspot.com/u/CateDuarte)\
**Post date:** [January 4, 2023, 2:47pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/4 "2023-01-04T14:47:25Z")

</div>

What is the trigger for your workflow? Can you add “Close Date” is known to  
the trigger and see if it solves? It should pick any Deal where Close Date  
is changed.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Wagh](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mahesh\_Wagh](https://community.hubspot.com/u/Mahesh_Wagh)\
**Post date:** [January 4, 2023, 2:54pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/5 "2023-01-04T14:54:18Z")

</div>

I have used Close date known trigger and also tried close date after trigger.

still quarter didn’t changed with close date month.

---

<div class="post-metadata">

**Author:** ![CateDuarte](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cateduarte/32/78852_2.png) [@CateDuarte](https://community.hubspot.com/u/CateDuarte)\
**Post date:** [January 4, 2023, 2:58pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/6 "2023-01-04T14:58:25Z")

</div>

Do you have the re-enrollment active?  
What is the error you see in the action logs? Under Workflow Details.

---

<div class="post-metadata">

**Author:** ![Mahesh\_Wagh](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mahesh\_Wagh](https://community.hubspot.com/u/Mahesh_Wagh)\
**Post date:** [January 4, 2023, 3:13pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/7 "2023-01-04T15:13:44Z")

</div>

Yes. Re-enrollment is on. No error in the action log. I gues its not counting any changes made in deals after creation

 ![HS.PNG](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/7/27d1fdc3b2d0c0a60d76cae86a493ea34646e5db.png)

---

<div class="post-metadata">

**Author:** ![CateDuarte](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cateduarte/32/78852_2.png) [@CateDuarte](https://community.hubspot.com/u/CateDuarte)\
**Post date:** [January 4, 2023, 3:29pm UTC](https://community.hubspot.com/t/create-a-dependency/72108/8 "2023-01-04T15:29:51Z")

</div>

What if you try this trigger - used 365 days as a reference.

 ![CateDuarte_0-1672846171281.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/5/0/50e48a12a5557d6ea1954b3730a5e59b4a1df6de.png)
