# How to sync Catalog Task Variables in ServiceNow

**URL:** <https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862>\
**Category:** General Questions\
**Tags:** usecase, servicenow-jira, migrated\_question, moved\
**Created:** [November 4, 2024, 7:28am UTC](https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862 "2024-11-04T07:28:18Z")\
**Posts on this page:** 4\
**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:28am UTC](https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862/1 "2024-11-04T07:28:19Z")

</div>

_Originally asked by Jorden Van Bogaert on 20 September 2021 [(original question)](https://oldcommunity.exalate.com/questions/37552507)_

* * *

Hi

We are looking into syncing a catalog task from ServiceNow to Jira.

However, the catalog task has a section “variables” where more fields are stored with data. Unlike the normal fields on the catalog task, I’m unable to directly get their value by their system name.

Is there a way to get the values for the variables?

 ![](https://europe1.discourse-cdn.com/flex018/uploads/exalate1/original/1X/2b23681d820f65d907aa647926e2765124bc9e2b.png)

Thanks in advance

* * *

---

<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:28am UTC](https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862/2 "2024-11-04T07:28:19Z")

</div>

_Answer by Francis Martens (Exalate) on 20 September 2021_

Jorden Van Bogaert

Check [Retrieve a list of variable for a RITM](https://oldcommunity.exalate.com/questions/25068871/retrieve-a-list-of-variable-for-a-ritm)_(old community)_ if going to match your need.

* * *

#### Comments:

> **Jorden Van Bogaert commented on 21 September 2021**
>
> > Thanks a lot! _(old community)_

---

<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:28am UTC](https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862/3 "2024-11-04T07:28:20Z")

</div>

_Answer by Archita Gupta on 05 October 2021_

How to get the reference field value instead of sys id from the catalog task variables? e.g. in the requested by variable, I am getting sys id instead of user’s name. Code I am using is

catalogTask.request\_item = nodeHelper.getReference(“sys\_user”, “sys\_id”, ${sys\_id})?.sys\_id

replica.variables = buildVariablesMap(catalogTask.request\_item.display\_value)

* * *

#### Comments:

> **Jose Lobo commented on 05 October 2021**
>
> > Hey Archita,  
> > Francis Martens (Exalate) answered this in your other community post.
> 
> - [get catalog task variables value instead of sys id](https://oldcommunity.exalate.com/questions/37553583/get-catalog-task-variables-value-instead-of-sys-id)_(old community)_
> 
> Best,

---

<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 6, 2024, 7:28am UTC](https://community.exalate.com/t/how-to-sync-catalog-task-variables-in-servicenow/4862/4 "2024-11-06T07:28:30Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
