User Feedback - Postman Flows

Woah you guys are quick! It was my fault obviously. A preceding request was failing and apperantly you cannot extract data that isn’t there.

So, a few things that I’d liked to have for debugging purpose:

  • maybe a small lable with the latest http status code in the “send request” box, and/or a button to view the return button (this is possible already by either using the console, or the terminal, where both can become cluttered really quick)
  • Buttons for “Run this box again”, “Start Flow from this box” , “Run until here”
  • Decoupling of “created variables” and variables used in a request, so they dont necessarily match. “Send request” could have a mappingconfiguration of incomming variables to variables used in the request

In general I appreciate the feature, this feedback blog and the super friendly and helpful team and the quick reaction to feedback! This feels great!

Have a great day everyone!

changing the environment variables via flows is NOT possible. I tested this with a really simple flow, which just executes a request to google.com and does this in the prerequest script:

pm.environment.set(“test”, “abc”);

After executing the flow and checking the environment, it is still empty

Hi @askmeagain!

Currently, variables created using the ‘Create Variables’ block are set in the ‘data’ scope. They do not edit/override/create environment variables.

Please follow this link to learn more about scopes: https://learning.postman.com/docs/sending-requests/variables/

This is not my problem.

Iam executing

pm.environment.set(“test”, “abc”);

inside a prerequest script and this is not done in a flow. I would expect to run the flow and then when i look in my environment to see “test” = “abc”, but its empty. Iam not creating any variables via my request node

Got it. Currently, we are not supporting updating environment from requests within flows. Please find the relevant information regarding this decision here: Postman Flows does not run Test javascript ¡ Issue #10359 ¡ postmanlabs/postman-app-support ¡ GitHub

Thanks! :slight_smile:

I have answered in the issue. Iam also copying my response here:

This is sad to read, as i have a usecase where we setup different environments for different users. I would argue that this is a decision which should be on the user. there is no reason to protect the users from themselves :frowning:

Hi @askmeagain , you are absolutely right, could not agree with you more. This is not a permanent decision, just a temporary one while we figure-out the logistics of environment with flows.

We also want to let’s uses define and use multiple environments with flows so that they are not limited to defining a single environment for the entire flow. It is also possible to use one flow inside another flow in the future, which again brings in the question which environment should be used.

We also are exploring providing a storage block which will be capable of storing any kind of data, and not limited by the key value pair format the environments allow. We wish environments to be truly Environment variable - Wikipedia where we are also able to load Environments from your native OS when we enable running flows in CI environments.
There are a lot of decision that we have not taken yet, so it was safest for us to make the current environment readonly :crossed_fingers: We promise to figure this out soon. Thanks again for the feedback

Hi everyone :wave: .

We are seeing the massive interest in Flow and this topic was turning out to be contain lot of information that everyone in the community to take value from. But the single threaded mode of discourse is turning out to be to confusing.
For a better experience for feedback, we have decided to move to using Github discussion for the same Discussions ¡ postmanlabs/postman-flows (github.com)

Hope to you see you all there. We will also be posting regular release notes and making major announcement there.

5 Likes

Hi postman team,

Thank you for the amazing new feature!!

I’m trying to run the request and passing it to another request, but before that I want to add or actually modify the value of one of the header parameters. For example, my first request header continued access token (which is not string) and I want to add text (String) in this access token before I pass it to the next request. There is any way to apply this?

Here is my flow to clarify more:


Great feedback @RageNugget! I’ll go ahead and create issues for all the 3 points you mentioned. You can check them out here: Issues · postmanlabs/postman-flows · GitHub

Welcome to the community @payload-cosmologist4 :slight_smile:

Currently, you cannot append custom values to input. We’ll definitely work on implementing it. Meanwhile, would you mind raising an issue or an idea here Discussions · postmanlabs/postman-flows · GitHub

Closing the topic as the conversation has moved to Github Discussions. :heart: