Unable to execute from st2flow without clicking on save first
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.
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.
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.
@Kamiit turns grey again because it will only let you execute one at a time. This is a feature not a bug. :joy:
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.