# Search for Latest Task Fields in Workflow for Contact

**URL:** <https://community.hubspot.com/t/search-for-latest-task-fields-in-workflow-for-contact/48489>\
**Category:** Dashboards & Reporting\
**Tags:** professional\
**Created:** [December 14, 2021, 3:35am UTC](https://community.hubspot.com/t/search-for-latest-task-fields-in-workflow-for-contact/48489 "2021-12-14T03:35:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MMetros5](https://avatars.discourse-cdn.com/v4/letter/m/9de053/32.png) [@MMetros5](https://community.hubspot.com/u/MMetros5)\
**Post date:** [December 14, 2021, 3:35am UTC](https://community.hubspot.com/t/search-for-latest-task-fields-in-workflow-for-contact/48489/1 "2021-12-14T03:35:02Z")

</div>

I want to check in an if/then statement the property values of the last task for a contact. By being able to see how the last task was completed, I can then update the contact fields accordingly.

Right now the workflows do not allow me to search for the latest task to my knowledge.

---

<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 14, 2021, 5:55am UTC](https://community.hubspot.com/t/search-for-latest-task-fields-in-workflow-for-contact/48489/2 "2021-12-14T05:55:31Z")

</div>

Hi @MMetros5,

This is unfortunately not possible in HubSpot. In workflows, associations of any kind can’t be specified by first or last (deal associated with a company created first, task association with a contact created last etc.). It’s currently a limitation of the product.

Best regards!
