Iβm testing Flows and I wanted to extract a data from a response header (Location).
Usually I was doing it in the Test section of the request and saving the data in an environment variable like this:
let location = pm.response.headers.get("Location").split('?');
let params = location[1].split('&');
let code = params.pop().substring(5);
pm.environment.set("auth_code", code);
But it seems that itβs not possible with Flows because I got this warning
Updating environment variables using flows not supported.
How would you do in this case