Skip to content

Flow snapshot contains Senarios, but restoring doesn't affect them #13575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
katie-roberts-alight opened this issue May 8, 2025 · 1 comment
Open
1 task done
Labels
Flows Related to Postman Flows feature

Comments

@katie-roberts-alight
Copy link

katie-roberts-alight commented May 8, 2025

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

When you have a flow with scenarios saved with it, and you create a snapshot, going to that snapshot view will still allow you to see the scenarios that were saved at that time. However, If you click restore, your scenarios will still be in the list, but if you try to run or edit any of them, you will see that the inputs have become empty retained their values.

After some testing with a new flow, I see that the scenarios keep the current values from before the restore. I don't know what happened with my one flow, I was trying to restore because somehow the input and output blocks disappeared without my doing, but it is in a team workspace so maybe a teammate did it. So I was expecting the scenarios to be restored fully along with the input block but they did not.

Maybe the restore functionality should have an option whether or not to keep the current scenarios or restore the old ones. and that option would warn the user that using the current scenarios will result in empty inputs if what you are restoring has inputs not used in the current scenarios.

Steps To Reproduce

  1. create a new flow
  2. add an input variable to the start block
  3. create a scenario with some non empty value for your variable
  4. create a snapshot
  5. empty or change the value for your variable in the scenario and save it
  6. click on the snapshot created in step 4, and try to edit the scenario in this view and you will see the value from step 3
  7. close the scenario and hit restore
  8. try to edit the scenario again, and this time the value is from step 5, not step 3 like expected

Screenshots or Videos

No response

Operating System

Windows

Postman Version

11.43.4

Postman Platform

Postman Web

User Account Type

Signed In User

Additional Context?

alternate github to watch issue with: @rober423

@rabbah rabbah added the Flows Related to Postman Flows feature label May 14, 2025
@rabbah
Copy link
Collaborator

rabbah commented May 14, 2025

Thanks looking into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flows Related to Postman Flows feature
Projects
None yet
Development

No branches or pull requests

2 participants