You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 27, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on May 27, 2021. It is now read-only.
Unable to execute from st2flow without clicking on save first #343
When I open an existing workflow in st2flow and then click on the execute workflow button, nothing happens. The button will become grayed out. I have to reopen the workflow, click on the save button to save the workflow, before I can execute the workflow.
changed the title [-]Unable execute from st2flow without clicking on save first[/-][+]Unable to execute from st2flow without clicking on save first[/+]on Apr 19, 2019
I can confirm this issue here while testing the packages. It shows "Cannot run workflow with unsaved changes" for workflow which are directly opened from st2web.
@kamiit turns grey again because it will only let you execute one at a time. This is a feature not a bug. 😂
The reason the workflow needs to be saved is because we annotate workflow with coordinates. So in reality the workflow has changed when you load one that hasn't been annotated. We could auto-save this, but I am not inclined to do that right now since it might have unexpected results.
Activity
[-]Unable execute from st2flow without clicking on save first[/-][+]Unable to execute from st2flow without clicking on save first[/+]Kami commentedon Apr 20, 2019
I can confirm this issue here while testing the packages. It shows "Cannot run workflow with unsaved changes" for workflow which are directly opened from st2web.
Kami commentedon Apr 21, 2019
I also noticed that after you click "save", run button only works once. After you click save and then run, run turns grey again.
Likely something with how we set dirty bit for works which are loaded / opened directly from st2web.
bigmstone commentedon Apr 23, 2019
@kamiit turns grey again because it will only let you execute one at a time. This is a feature not a bug. 😂
The reason the workflow needs to be saved is because we annotate workflow with coordinates. So in reality the workflow has changed when you load one that hasn't been annotated. We could auto-save this, but I am not inclined to do that right now since it might have unexpected results.