# Workflow not working as intended

**URL:** <https://community.hubspot.com/t/workflow-not-working-as-intended/56185>\
**Category:** Sales Hub Tools\
**Tags:** professional\
**Created:** [May 4, 2022, 12:49pm UTC](https://community.hubspot.com/t/workflow-not-working-as-intended/56185 "2022-05-04T12:49:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PPereira](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ppereira/32/57979_2.png) [@PPereira](https://community.hubspot.com/u/PPereira)\
**Post date:** [May 4, 2022, 12:49pm UTC](https://community.hubspot.com/t/workflow-not-working-as-intended/56185/1 "2022-05-04T12:49:20Z")

</div>

I set up a workflow with the goal of changing a deal property called **(Slack) Close date in the past** to _TRUE_ whenever a deal’s close date has already passed but, for some reason, no deals are being enrolled into it.

I’ve attached screenshots of the workflow and a deal as an example (close date 2nd-May and today is 4th-May). Can anyone tell what the issue is?

Thank you in advance.

 ![Screenshot 2022-05-04 at 14.36.52.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/8/889f7cf9199d6cca4bb65a7dfec0ce84bdb2bdd6.png)

 ![Screenshot 2022-05-04 at 14.45.52.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/9/93ac57ddbceb96e58122d1bff00294a56f79cd58.png)

 ![Screenshot 2022-05-04 at 14.44.39.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/8/8e0d28496fbcf57d6220aa85fedaf679c5d75ecb.png)

 ![Screenshot 2022-05-04 at 14.44.47.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/4/9/4911c49e6ba3590c3bba2ce0e22fc9f4a09e9be3.png)

---

<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:** [May 4, 2022, 12:53pm UTC](https://community.hubspot.com/t/workflow-not-working-as-intended/56185/2 "2022-05-04T12:53:32Z")

</div>

Hi @PPereira,

Have you checked whether the record would enroll in the workflow, using the _Test_ button in the upper right of the workflow editor?

Best regards

---

<div class="post-metadata">

**Author:** ![PPereira](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ppereira/32/57979_2.png) [@PPereira](https://community.hubspot.com/u/PPereira)\
**Post date:** [May 4, 2022, 1:34pm UTC](https://community.hubspot.com/t/workflow-not-working-as-intended/56185/3 "2022-05-04T13:34:30Z")

</div>

Hey Karsten 👋🏻

Thanks a lot for your reply. I hadn’t tried that before because I thought it would just give me redundant information (as in, I know that the deals are not being enrolled). However, it also showed me WHY they were not being enrolled (for some reason, I had set up the unenrollment criteria to be exactly the same as the enrollment one). I corrected it now ✅
