# Workflow Edit CRM Property from Custom Variable - Not compatible with this field

**URL:** <https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794>\
**Category:** CMS Development\
**Tags:** enterprise\
**Created:** [November 4, 2024, 11:12pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794 "2024-11-04T23:12:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jskowronek](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jskowronek/32/31432_2.png) [@jskowronek](https://community.hubspot.com/u/jskowronek)\
**Post date:** [November 4, 2024, 11:12pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794/1 "2024-11-04T23:12:07Z")

</div>

We have a custom workflow action that assigns a return variable, owner\_id (string) we’re trying to use later on in a workflow to assign the Contact Owner property. However, when editing the “Edit Record” workflow action, + Add data variable, Action Ouputs, Custom Code, owner\_id is grayed out and a tooltip appears: “Not compatible with this field”.

What exactly does this mean? I am unable to locate this message/error anywhere.

Would prefer not to have to assign the Contact Owner through unwieldy branching logic as recommended here: [Assign ownership of records](https://knowledge.hubspot.com/records/how-to-set-a-record-owner)) or through another custom action through API, but that’s what we’re looking at now unless this can be explained.

Appreciate help.

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [November 5, 2024, 3:09pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794/2 "2024-11-05T15:09:43Z")

</div>

Hi @jskowronek,

Thanks for reaching out to the Community!

Let’s seek guidance from a few experts:

Hello @LMeert, @MBERARD, @ChrisoKlepke 🙂 Could you please share any insights or suggestions for @jskowronek?

Thanks,

Diana

---

<div class="post-metadata">

**Author:** ![SteveHTM](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stevehtm/32/22074_2.png) [@SteveHTM](https://community.hubspot.com/u/SteveHTM)\
**Post date:** [November 5, 2024, 5:57pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794/3 "2024-11-05T17:57:47Z")

</div>

@jskowronek - I believe you will find that ‘owner’ properties behave like ennumeratd types and so will not be compatibel with th string type output of a custom code action. Since you already have a thread of custom code available, I’d be tempted to take the next step and assign the value you have derived to the owner property via an API call. It may be necessary to fetch the possible labels/internal values and find the right one for your case.

Good luck!

Steve

---

<div class="post-metadata">

**Author:** ![jskowronek](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jskowronek/32/31432_2.png) [@jskowronek](https://community.hubspot.com/u/jskowronek)\
**Post date:** [November 5, 2024, 8:10pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794/4 "2024-11-05T20:10:59Z")

</div>

Upon digging into the HS APIs it appears you are correct. The hs\_record\_id of the Users is not actually the OwnerId of the CRM objects (odd I hadn’t learned that yet). Working now to use the contact api to assign the hubspot\_owner\_id to the actual Owner Id record for the user. Thanks for pointing me in the right direction.

---

<div class="post-metadata">

**Author:** ![jskowronek](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jskowronek/32/31432_2.png) [@jskowronek](https://community.hubspot.com/u/jskowronek)\
**Post date:** [November 14, 2024, 6:19pm UTC](https://community.hubspot.com/t/workflow-edit-crm-property-from-custom-variable-not-compatible-with-this-field/119794/5 "2024-11-14T18:19:25Z")

</div>

FWIW, after getting help from support, discovered the “Owner” property, though numeric, is NOT considered a number type within the workflow interface. When attempting to make a dynamic assignment to the “Owner” property, the custom workflow output type needs to be “Enumeration” for it to be discoverable by the assignment tools.
