# \#global-variable

**URL:** https://community.postman.com/tag/global-variable/207.md

[Latest](https://community.postman.com/latest.md) · [Categories](https://community.postman.com/categories.md) · [Tags](https://community.postman.com/tags.md)

---

## [Introducing a Simplified Variables experience in Postman](https://community.postman.com/t/introducing-a-simplified-variables-experience-in-postman/84455)

<div class="topic-metadata">

**Author:** [@docking-module-parti](https://community.postman.com/u/docking-module-parti)\
**Replies:** 2\
**Last updated:** [September 11, 2025, 7:35am UTC](https://community.postman.com/t/introducing-a-simplified-variables-experience-in-postman/84455 "2025-09-11T07:35:57Z")

</div>

Variables power some of the most essential workflows in API development. They help you avoid hardcoding values, seamlessly switch between environments, and collaborate effectively with your team. That’s why they’ve becom…

---

## [BUG: Global variables no longer resolved in request URL after changing back and forth between 2 workspaces](https://community.postman.com/t/bug-global-variables-no-longer-resolved-in-request-url-after-changing-back-and-forth-between-2-workspaces/83856)

<div class="topic-metadata">

**Author:** [@technical-engineer-7](https://community.postman.com/u/technical-engineer-7)\
**Replies:** 8\
**Last updated:** [September 4, 2025, 11:16am UTC](https://community.postman.com/t/bug-global-variables-no-longer-resolved-in-request-url-after-changing-back-and-forth-between-2-workspaces/83856 "2025-09-04T11:16:22Z")

</div>

It seems that changing between workspaces and going back to the previous one prevent global variables from being resolved. Step to reproduce: Create 2 workspaces with a request in both On one of the workspace use a gl…

---

## [Global Variables with Scheduled Runs](https://community.postman.com/t/global-variables-with-scheduled-runs/42589)

<div class="topic-metadata">

**Author:** [@dd990](https://community.postman.com/u/dd990)\
**Replies:** 6\
**Last updated:** [October 17, 2024, 3:46pm UTC](https://community.postman.com/t/global-variables-with-scheduled-runs/42589 "2024-10-17T15:46:20Z")

</div>

Is there a way to use global variables with a scheduled collection run? I’ve set up a Workspace for exchanging data between two eCommerce platforms and I’ve built separate collections to handle the different types of ex…

---

## [How to update my public workspace global variables with the API?](https://community.postman.com/t/how-to-update-my-public-workspace-global-variables-with-the-api/65214)

<div class="topic-metadata">

**Author:** [@jdrodrigues](https://community.postman.com/u/jdrodrigues)\
**Replies:** 0\
**Last updated:** [August 6, 2024, 11:25am UTC](https://community.postman.com/t/how-to-update-my-public-workspace-global-variables-with-the-api/65214 "2024-08-06T11:25:48Z")

</div>

Hi, I’m trying to update the global variables on a public workspace using the API and I found out that I can’t update or retrieve the global variables if the workspace is public. Here is how the API behaves if the work…

---

## [How to use Global variable using UID?](https://community.postman.com/t/how-to-use-global-variable-using-uid/59304)

<div class="topic-metadata">

**Author:** [@devang-ey](https://community.postman.com/u/devang-ey)\
**Replies:** 1\
**Last updated:** [March 28, 2024, 9:09am UTC](https://community.postman.com/t/how-to-use-global-variable-using-uid/59304 "2024-03-28T09:09:49Z")

</div>

I am running my test collections using Postman Command Line Interface (CLI). I want to know how I can utilize the global variable by its Unique Identifier (UID), in the same way as I use environment and collection variab…

---

## [GraphQL schema fails to load when using token variable](https://community.postman.com/t/graphql-schema-fails-to-load-when-using-token-variable/56660)

<div class="topic-metadata">

**Author:** [@docking-module-cosm4](https://community.postman.com/u/docking-module-cosm4)\
**Replies:** 2\
**Last updated:** [January 17, 2024, 12:30pm UTC](https://community.postman.com/t/graphql-schema-fails-to-load-when-using-token-variable/56660 "2024-01-17T12:30:46Z")

</div>

I was trying to find similar issue, but could not find, so here it is: When trying to load the GraphQL schema in Postman request that uses global bearer token variable as authentication, then the schema loading fails wi…

---

## [Global variables, initial vs current value](https://community.postman.com/t/global-variables-initial-vs-current-value/26026)

<div class="topic-metadata">

**Author:** [@misi01](https://community.postman.com/u/misi01)\
**Replies:** 0\
**Last updated:** [July 21, 2021, 10:26am UTC](https://community.postman.com/t/global-variables-initial-vs-current-value/26026 "2021-07-21T10:26:46Z")

</div>

I read up on a couple of similar (I think) problems, but they didn’t seem to be the same. Let’s see if I can include all the info needed first time round. In my workspace, in environments, in globals I have defined a va…

---

## [Postman global variable is not identify in jenkins,Environment variable is identified](https://community.postman.com/t/postman-global-variable-is-not-identify-in-jenkins-environment-variable-is-identified/2549)

<div class="topic-metadata">

**Author:** [@jignesh.kalaria](https://community.postman.com/u/jignesh.kalaria)\
**Replies:** 3\
**Last updated:** [May 19, 2021, 4:43pm UTC](https://community.postman.com/t/postman-global-variable-is-not-identify-in-jenkins-environment-variable-is-identified/2549 "2021-05-19T16:43:50Z")

</div>

Hi, Need serious help on following issue I have run my collection in newman with global and environment variable and its working awesome. Now issue started when I try to run the same collection with variables in jenki…

---

## [How do get Globals from the API?](https://community.postman.com/t/how-do-get-globals-from-the-api/21949)

<div class="topic-metadata">

**Author:** [@johnwyles](https://community.postman.com/u/johnwyles)\
**Replies:** 2\
**Last updated:** [March 29, 2021, 3:25pm UTC](https://community.postman.com/t/how-do-get-globals-from-the-api/21949 "2021-03-29T15:25:51Z")

</div>

I can get the Collections and Environments from the API by their UUID but I see no documentation nor through some trial and error been able to extract the Globals though in the Postman UI I do see a UUID: I can look …

---

## [How to pass argument or value while running collection from newman](https://community.postman.com/t/how-to-pass-argument-or-value-while-running-collection-from-newman/7417)

<div class="topic-metadata">

**Author:** [@pandu.biet](https://community.postman.com/u/pandu.biet)\
**Replies:** 7\
**Last updated:** [August 14, 2020, 4:12pm UTC](https://community.postman.com/t/how-to-pass-argument-or-value-while-running-collection-from-newman/7417 "2020-08-14T16:12:34Z")

</div>

How to pass argument or value while running collection from newman ? newman run mycollection.json -e envfile.json/csv is not working Scenario I have a collection which can run on multiple environments seamlessly but i…

---

## [Give variable data for a PUT to give random references that I have defined in a table beforehand](https://community.postman.com/t/give-variable-data-for-a-put-to-give-random-references-that-i-have-defined-in-a-table-beforehand/10151)

<div class="topic-metadata">

**Author:** [@alexisjah](https://community.postman.com/u/alexisjah)\
**Replies:** 1\
**Last updated:** [January 17, 2020, 8:48pm UTC](https://community.postman.com/t/give-variable-data-for-a-put-to-give-random-references-that-i-have-defined-in-a-table-beforehand/10151 "2020-01-17T20:48:34Z")

</div>

Hello all, I would like to vary a data item for a PUT to give random references that I defined in a table beforehand. Example: My body: { “ecoparticipations”: \[ { “productReference”: {{ReferenceEcopart}}, “type”:…

---

## [How to use globals when the type of variable is int](https://community.postman.com/t/how-to-use-globals-when-the-type-of-variable-is-int/5309)

<div class="topic-metadata">

**Author:** [@sero.barseghyan](https://community.postman.com/u/sero.barseghyan)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 1:38am UTC](https://community.postman.com/t/how-to-use-globals-when-the-type-of-variable-is-int/5309 "2019-05-20T01:38:52Z")

</div>

I created global to use in body but the value of global is int type How can I put my created global in body when it’s not string? { "image": { \*\*"id": {{comment photo id}}\*\*, "url": "{{comment\_photo\_url}}", "w…

---

## [How to create Global variable for dynamic id?](https://community.postman.com/t/how-to-create-global-variable-for-dynamic-id/5183)

<div class="topic-metadata">

**Author:** [@sero.barseghyan](https://community.postman.com/u/sero.barseghyan)\
**Replies:** 3\
**Last updated:** [April 27, 2019, 8:57pm UTC](https://community.postman.com/t/how-to-create-global-variable-for-dynamic-id/5183 "2019-04-27T20:57:33Z")

</div>

Hi. I have issue to create global variable while sending request. I’m sending request to add a comment in photo but every time after sending the request It creates different IDs for each comment. So I need this IDs va…
