Unable to execute from st2flow without clicking on save first · Issue #343 · StackStorm/st2flow · GitHub
Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
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

Open

Description

@m4dcoder

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.

Activity

  1. 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
  2. Kami commented on Apr 20, 2019

    @Kami
    Member

    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.

  3. Kami commented on Apr 21, 2019

    @Kami
    Member

    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.

  4. added
    high-impact bugThis bug has an outsized impact on the usability of the system (crash state, data loss, big & ugly)
    and removed
    high-impact bugThis bug has an outsized impact on the usability of the system (crash state, data loss, big & ugly)
    on Apr 23, 2019
  5. bigmstone commented on Apr 23, 2019

    @bigmstone
    Contributor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions