Refer current value of the variable in the mock server

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

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

My question: How to refer to current value of a variable in the mock server response?

Details (like screenshots):
I have created a mock server and saved examples for few of the APIs. In on of the response, I have referred the environment variable and I want to update its value in the pre-request script which I am able to do but the issue is , when I refer that variable in the mock server, its returning the initial value all the time. So is there way to access the current value in mock server response ?
Environment variable :

Mock server response: