# We have a custom Field in Zendesk that we need need to populate from Service and It not is working

**URL:** <https://community.exalate.com/t/we-have-a-custom-field-in-zendesk-that-we-need-need-to-populate-from-service-and-it-not-is-working/4602>\
**Category:** General Questions\
**Tags:** feature-customfield, migrated\_question\
**Created:** [November 4, 2024, 7:09am UTC](https://community.exalate.com/t/we-have-a-custom-field-in-zendesk-that-we-need-need-to-populate-from-service-and-it-not-is-working/4602 "2024-11-04T07:09:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:09am UTC](https://community.exalate.com/t/we-have-a-custom-field-in-zendesk-that-we-need-need-to-populate-from-service-and-it-not-is-working/4602/1 "2024-11-04T07:09:24Z")

</div>

_Originally asked by Champ Yarbrough on 17 February 2021 [(original question)](https://oldcommunity.exalate.com/questions/25068494)_

* * *

We need to populate the custom Zendesk Field called:

T Applications from a ServiceNow Field called “product\_name” to a Zendesk custom field called “T Applications”

The below example is from SN “CS1234567” and Zendesk “1234”

Incoming data from ServiceNow looks like this:

```auto
},
    "location_street_address": "1521 Pier J Avenue",
    "impact": "2 - Medium",
    "location_confluence_page": "",
    "cause": "",
    "location_state": "CA",
    "product_name": "EDI",
    "close_notes": "",
    "account_is_affiliate": "true",
    "number": "CS1234567",  
  
The incoming Sync on the Zendesk looks like this:  
  

```

[//issue.customFields](https://issue.customFields).“T Applications”.value = replica.t\_application  
issue.customFields.“T Applications”.value = replica.product\_name

def productMap = [  
“Buoy” : “Buoy”,  
“Zendesk” : “Zendesk”,

“…”:“…”  
]

def t = productMap[replica.“product\_name”]  
//def productName = productMap[replica.product\_name] ?: replica.product\_name  
issue.customFields.“t Applications”.value = t //productName // commented out because this line is only blanking out the application field  
[//debug.error](https://debug.error)(“t = ${replica.“product\_name”}, result = ${t\_application}”)  
[//debug.error](https://debug.error)(“Priority = ${[replica.priority.name](http://replica.priority.name)}”)

But the Application never populates.

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 7:09am UTC](https://community.exalate.com/t/we-have-a-custom-field-in-zendesk-that-we-need-need-to-populate-from-service-and-it-not-is-working/4602/2 "2024-11-04T07:09:25Z")

</div>

_Answer by Francis Martens (Exalate) on 17 February 2021_

Champ Yarbrough

Your Exalate for Zendesk environment is pinned on an old version, where there was a problem populating dropdown lists.  
We are lifting this question in our support channel - and will be handling the upgrade to the new version there.

* * *
