# How can I get a random block of number for one time on run Flows

**URL:** <https://community.postman.com/t/how-can-i-get-a-random-block-of-number-for-one-time-on-run-flows/46234>\
**Category:** Help Hub\
**Tags:** postman-flows\
**Created:** [April 12, 2023, 2:11am UTC](https://community.postman.com/t/how-can-i-get-a-random-block-of-number-for-one-time-on-run-flows/46234 "2023-04-12T02:11:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leejaewan](https://avatars.discourse-cdn.com/v4/letter/l/a3d4f5/32.png) [@leejaewan](https://community.postman.com/u/leejaewan)\
**Post date:** [April 12, 2023, 2:11am UTC](https://community.postman.com/t/how-can-i-get-a-random-block-of-number-for-one-time-on-run-flows/46234/1 "2023-04-12T02:11:42Z")

</div>

**Your question may already have an answer on the community forum. Please search for related topics, and then read through the [guidelines](https://community.postman.com/t/about-the-just-getting-started-category/37) before creating a new topic.**

> Here’s an outline with best practices for making your inquiry.

_My question_:  
In Flows, I made a number block that has a random value.  
What I want is that when the flow starts (run), a random value is generated only once, and the value will last while the flow is in progress. However, the block I created generates a random value whenever I refer to the block variable.

 ![스크린샷 2023-04-12 오전 11.09.01](https://us1.discourse-cdn.com/getpostman/original/3X/6/d/6d91fe50e14c1e046e6cc7446084faefb9e00ebc.jpeg)

_Details (like screenshots)_:  
If you look at the screen shot, assign a random value as “{{$randomInt}}” to a block of variables “update\_ipx\_user\_seq\_4”. And every time the send request block is called, a new value is obtained. I want to receive a new value only once when running and the value will last.

_How I found the problem_:  
I checked the value delivered through the console.

_I’ve already tried_:  
I can’t think of any other alternative.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [April 25, 2025, 2:08pm UTC](https://community.postman.com/t/how-can-i-get-a-random-block-of-number-for-one-time-on-run-flows/46234/2 "2025-04-25T14:08:30Z")

</div>

Closed on April 25, 2025, 2:08pm UTC


