What about requests pre-scripts in Flows

Hello!

I have a question regarding postman flows:

When you set up a request to be sent in a flow, it does not seem to execute the pre/post-scripts attached to that very specific request. Is it to be expected ?

Here is the detailed example →

POST REQUEST - New user - has a pre-script incrementing the user_id environment variable.

When in my flow I set up the - New user - request, the ID is not incremented (script not executed?) and the request fails.

Can someone advise on this please ?

Thank you very much!

Hi @samuelgaliere

Updating environment variables is not currently supported in flows.

We’re working on a better way to handle this, but in the meantime I recommend incrementing the ID within the flow itself.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.